hi all,
I know that the select tag's option selected="selected" just puts the option text in the select's display field on page load.
I also know that...
$('select').val()
$('select :selected').val()
$('select option:selected').val()
and
$('select :selected').text()
$('select option:selected').text()
are all functionally the same in that they all get the current option value and text respectively.
My question is...
Does the jquery selector ":selected" and "option:selected" component attempt to reference the select tag's selected option selected="selected" if any, or does it merely get the value or text of what's currently displayed in the select field and there is no relation between the tag's option="selected" and jquery "option:selected"?