Hey Dizzle,

Thanks for the help man. The code that Matt provided worked perfectly 
and is a little easier:

$('#mySelect').val()

Thanks for the effort though. I really appreciate it.

Rey

dizzledorf wrote:
> Rey,
> 
> 
> How about:
> var foo = $('#mySelect').attr("value");
> 
> Seems to work here in FF & IE.
> 
> 
> --DIZZLE
> 
> 
> 
> Rey Bango-2 wrote:
> 
>>Guys,
>>
>>I'm tesing some code out to return the selected value of a dropdown. I 
>>found a snippet that was posted in a prior message but it seems to only 
>>work in IE and not in FF. FF returns null for the value. The code 
>>snippet is:
>>
>>$('#mySelect [EMAIL PROTECTED]').val();
>>
>>You can see it here:
>>
>>http://www.intoajax.com/selecttest.htm
>>
>>Any ideas on how to fix this?
>>
>>Rey...
>>
>>_______________________________________________
>>jQuery mailing list
>>discuss@jquery.com
>>http://jquery.com/discuss/
>>
>>
> 
> 

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to