How to select a select type = multiple - jQuery -


what best way select options in <select> set "multiple" ?

simple using has attribute selector...

$("select[multiple] option"); 

this checks existence of multiple attribute on select tag, , grabs options within it.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -