开发者

Add/Remove or Show/Hide drop down list items

Basically I have 3 drop down lists for security questions. I have java script setup that will spring an alert when the box is changed. I need to开发者_运维知识库 know how to add/remove or show/hide an option. like if the first box selected option 1....remove option one from the other 2 drop downs as possible selections.


$('selector').append($('select options:gt(n)').detach()); 
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜