title: jquery setting options after init
body: <p>I know one can set plugin options, after things are set.  But I'm not quite sure how to do it.  So I created a simple jquery UI example, using the draggable(), with zIndex option already set.  So, if I click the link I created, I want to change the zIndex option to another integer. Here's the link I am work from: <a href="http://jqueryui.com/demos/draggable/#option-zIndex" rel="noreferrer">http://jqueryui.com/demos/draggable/#option-zIndex</a></p>
  
  <pre><code>&lt;script&gt;
  $(function() {
  
    $( ".dragimgs" ).draggable({ zIndex: 2700 });
  
  
  });
  &lt;/script&gt;
  
  &lt;img class="dragimgs" src="someimg.png" /&gt;
  
  &lt;a id="clickme"&gt;Click To Change zIndex&lt;/a&gt;
  </code></pre>
  
  <p>So the question is how do I reset the zIndex (or any available option), dynamically.
  I am assuming that a js function or some onclick event can be utilized, but I honestly don't know how.</p>