I cant seem to set the value of any select elements using val. Input type=text is working fine.
So I have something like: $('#usa_reference_state_id').val("2") alert($('#usa_reference_state_id').val() ) and the alert is "" so no value was set. I am 100% sure that 2 is in the list of options for #usa_reference_state_id. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---