开发者

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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜