jQuery checkbox drop down control
link texthi, i am using jQuery checkbox drop down control. i am able to bind the values to listbox and show the values .
i need to make certain items in my listbox[checkbox drop down control] non selectable. i开发者_开发知识库 am refering this website
http://dropdown-check-list.googlecode.com/svn/trunk/src/demo.html
i am using the JQuery plugin in to achive this . i am able to fix the height of the control all these things are possiable. i have an datatable with items
karnataka
tamilnaidu
kerla
------
delhi
mumbai
chennai
------
abc
poasda
sewqwq
qwewqe
------
so now if user tries to select the"------" values it should not get selected
any help would be great
thank you
Have you tried adding to these options the disabled attribute ?
<option value="..whatever.." disabled="disabled">------</option>
精彩评论