title: unable to enable other select menu based on the value of first select menu
body: <p>I have 2 dropdown select menu items labelled Connection Mode and Ip Version. Based on value in Connection Mode (static), Ip Version should enable but if I choose "dhcp" in connection mode it should disable Ip Version again on the fly. I referred to this example <a href="https://stackoverflow.com/questions/4597093/enable-disable-input-based-on-selection-jquery">Enable/Disable Input based on selection (jQuery)</a></p>
  
  <p>However its not working for my case. The difference is that I am using jquery ui select menu items which are syntactically enabled and disabled differently.</p>
  
  <p>Here is html part:-</p>
  
  <pre><code>&lt;label for="cm_0"&gt;Connection Mode&lt;/label&gt;
  
          &lt;select id="cm_0"&gt;
              &lt;option value="static"&gt;static&lt;/option&gt;
              &lt;option value="dhcp"&gt;DHCP&lt;/option&gt;
          &lt;/select&gt;
          &lt;div class="clear"&gt;&lt;/div&gt;
      &lt;div class="clear"&gt;&lt;/div&gt;
      &lt;label for="ipv_0"&gt;IP Version&lt;/label&gt;
  
          &lt;select id="ipv_0"&gt;
              &lt;option selected&gt;IPv4&lt;/option&gt;
              &lt;option&gt;IPv6&lt;/option&gt;
          &lt;/select&gt;
  </code></pre>
  
  <p>This is jquery part:-</p>
  
  <pre><code>$("#cm_0,#cm_1,#ipv_0,#ipv_1").selectmenu({
          width:153,
          disabled:true
      });
  
  /*based on the stackoverflow link i shared*/
  $("#cm_0").change(function(){
      if($("#cm_0").val() === "static") {
          $("#ipv_0").selectmenu("option","disabled",false);
          console.log("static chosen");
      }
      else{
          $("#ipv_0").selectmenu("option","disabled",true);
      }
      }).trigger('change');
  </code></pre>