Note that there are some explanatory texts on larger screens.

plurals
  1. POUnselecting Dropdown Checklist from dropdown-check-list.googlecode.com
    primarykey
    data
    text
    <p>I am trying to select/unselect items individually in a Dropdown Checklist plugin for jQuery.</p> <p>The plugin is : <a href="http://dropdown-check-list.googlecode.com" rel="nofollow">dropdown-check-list.googlecode.com</a></p> <p>I have tried this but it doesn't work :</p> <pre><code>$('#mylist option').each(function() { $(this).attr('selected',false); $('#mylist'+i).attr('selected',false); } </code></pre> <p>Where i is an incremented integer. I have also tried with removeAttr before attr...</p> <p>Anyone has an idea how to accomplish this ?</p> <p>I have tried to implement the following, to no avail :</p> <blockquote> <p>Dropdown CheckList generates two basic components that are inserted into the document. There is a control wrapper which is positioned in place of the original selector and acts like the item on the page. And there is the drop-down wrapper which is only visible when the control wrapper is 'open' and is positioned under the control.</p> <p>Both of these items are assigned an id, which you can use in other jQuery processing to locate and alter the items.</p> <p>Control Wrapper The control wrapper has a generated id of the form "ddcl-XXX", where the XXX is either 1) the assigned id of underlying , or 2) an incrementing counter when the has no id assigned. Drop-down Wrapper The drop-down wrapper has a generated id of the form "ddcl-XXX-ddw", where the XXX matches the XXX of the control wrapper. </p> <p>These ids must be unique and Dropdown CheckList assumes no other elements on the page have an id that conflicts.</p> </blockquote> <p>Many thanks for your help !</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload