[jQuery] Re: Find a element - Basic issue

2007-04-27 Thread Scott Sauyet
Mario Moura wrote: select id=edit-taxonomy-1 class=form-select name=taxonomy[1] option value=0none/option option selected=selected value=1820services/option option value=1839Products/option I am trying find the option that have selected=selected of course is very random in many inputs. This

[jQuery] Re: Find a element - Basic issue

2007-04-27 Thread Josh Nathanson
This is a tricky one, you use the contextual selector: $(option:selected,#edit-taxonomy-1) This is like saying find the selected option in the context of element id edit-taxonomy-1. Give that a shot. -- Josh - Original Message - From: Mario Moura To: