Suresh Sundar
Success is journey, not a destination, always.
Wednesday, 10 June 2015
How to get all options of a select using jQuery?
here is an example code!
$("#ID option").each(function () {
$(this).prop('selected', true);
});
ID=> tour item id.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment