title: How to make a dropdownlist disabled on change event using JQUERY?
body: <pre><code>$(document).ready(function() {
        $('#&lt;%=ddlContinents.ClientID %&gt;').change(function() { 
        var element = $(this);
        var totalLength = element.children().length; 
        if ($(this).disabled == false) { $(this).disabled = true; }
        });
  });
  </code></pre>
  
  <p>What I am trying to do is fire off the change event of the <code>dropdownlist</code> and on change making this <code>dropdownlist</code> disabled. The code is firing and everything, but it does not disable the <code>dropdownlist</code>.</p>
  
  <p>This portion of the code is not working:</p>
  
  <pre><code>if ($(this).disabled == false) { $(this).disabled = true; } });
  </code></pre>