I am using a jquery multiselect plugin http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/ with option. All works fine, however one of the client requirement is to have a checkbox in the option. Does anyone know how to do this?
Te case is that I want to have the checkboxes in all options like here:
[] England <-This is <optgroup>
[]London
[]Leeds
[]Manchaster
so, “England” is the title for my and I want it to also have a checkbox.
So, this funcitonality is not available by default with the plugin you are using. If you want to add it, you will either need to hook into their events (I’d recommend the
createandoptgrouptoggleevents), add it in manually to the source code (line 145 is what you’re looking for in the non-minified version) and then also hook into theiroptgrouptoggleevent and mark it checked, or file it as an enhancement in their bug system.