Geeks With Blogs
Thanigainathan Siranjeevi Sharing my learning December 2009 Entries
Jquery dropdown selected value
Today we had a little situation where to get the selected text of Dropdown in Jquery. As far as I know we can get only the value as given below $("#somedrop").val() This gives the selected value. I did a little google and found a helpful text in discussion forums . The answer will be simple. $("#somedrop option:selected").text() Please let me know if you have some other ways also. Thanks, Thani ......

Posted On Friday, December 4, 2009 1:08 AM

Copyright © thanigai | Powered by: GeeksWithBlogs.net