Well this doesn't work:
var id = $("#filter").val(); //correctly returns 1 as the value
if (id != 0 ) {
var strCemetery = $('#cemeteryfilter [EMAIL PROTECTED]').text();
}
I'm really getting frustrated here. What is the syntax for testing each
option for the matching value?
--
View this message in context:
http://www.nabble.com/Getting-the-TEXT-of-an-option-tag%2C-not-the-value.-tf1919282.html#a7939730
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/