Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Question about option selected="selected" and jquery option:selected.


daveVk - 12:44 am on Jun 5, 2012 (gmt 0)


[w3schools.com...]

$('select :selected') returns the element(s) in question

$('select').val() works (in the case of a single selection) as the select element gets it value from the selected item.


Thread source:: http://www.webmasterworld.com/javascript/4461372.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com