title: jquery ui multiselect checkbox select
body: <p>I have a jquery ui multiselect dropdown. I want to check one of the checkboxes in the code. I used this code:</p>
  
  <pre><code>$("#selector option").each(function() {
                  if ($(this).val() == "EDIT"){
                      $(this).attr("checked","checked");
                   }else{
                       $(this).attr("selected", false);
  
                   }
              });
  </code></pre>
  
  <p>This code doesn't work. In the console I see isContentEditable: false. Is this the issue? If yes, how can I solve it?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>I also used this:</p>
  
  <pre><code>$("selector").multiselect("widget").find(":checkbox[value='EDIT']").each(function() {
              $(this).attr("checked",true);
          });
  </code></pre>
  
  <p>But it doesn't work!</p>