did you try $(".child1 input[value=Gary]")?
On May 28, 11:51 am, andyGr <[EMAIL PROTECTED]> wrote: > Hi All, > > This is my DOM structure: > > <tr class="child1"> > <td class="titleCell">First Name:</td> > <td class="fieldCell"><input class="inputbox" > value="John" /></td> > </tr> > <tr class="child1"> > <td class="titleCell">Middle Name:</td> > <td class="fieldCell"><input class="inputbox" > value="Garry" /></td> > </tr> > <tr class="child2"> > <td class="titleCell">First Name:</td> > <td class="fieldCell"><input class="inputbox" > value="Nick" /></td> > </tr> > <tr class="child2"> > <td class="titleCell">Middle Name:</td> > <td class="fieldCell"><input class="inputbox" > value="Peter" /></td> > ............... > > Questions: > > 1) how can I select the value Garry? I tried > > $('tr.child1 td input').eq(1).value > > But it does not work > > 2) How can I reset all values of input fields of tr.child2 without cycling > through? > > Any help? > > -- > View this message in > context:http://www.nabble.com/Selector-help-needed-tp17508515s27240p17508515.... > Sent from the jQuery General Discussion mailing list archive at Nabble.com.