Hi,

Thanks for the suggestion Jorn.

That didn't work for me at first, it just returned me the object I already had, ie. the select element. But when I changed the selector to "#payment_method option" the magic started to happen.

Thanks again,

David

Jörn Zaefferer wrote:

David,
Can anyone think of a way I can do this with jQuery?
have you check the contains method?
http://docs.jquery.com/DOM/Traversing#contains.28_str_.29

That should work for your case.

Reply via email to