ok. I modified <tr id="3"> => <tr id="3" class="xxx">
it's ok?
but using .slice() is possible?


On Aug 30, 5:41 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote:
> Seems they are all children of their individual <TR> tag right?
> What is the event you are listening for?
> If its an ajax table you will need to bind the events using the Live jQuery
> plugin.
> Then once you have an event you are listening for you probably will have
> something like:
>
> var parentTR = $(this.parents("tr:first"); //this is the parent TR of
> whatever is firing the event, assuming its inside the TR
> parentTR.children("input:first").val();  //this would be the first inputs
> value
>
> Does this help get you started?
>
> Glen
>
> On 8/30/07, David <[EMAIL PROTECTED]> wrote:
>
>
>
> > Please help me!
>
> > On Aug 30, 10:44 am, David <[EMAIL PROTECTED]> wrote:
> > > I have a table generated by ajax:
> > > <table>
> > >          <tr id="3">
> > >           <td><input type="text" value="7586"/>
> > >               </td>
> > >           <td><select id="xxx">
> > >                <option value="3">Unu</option>
> > >                <option value="4">Psatru</option>
> > >                <option value="5">Cinci</option>
> > >               </select></td>
> > >           <td><input type="text" value="758633"</td>
> > >           <td>nimic</td>
> > >          </tr>
>
> > >          <tr id="89">
> > >           <td><input type="text" value="758as6"/>
> > >               </td>
> > >           <td><select id="xxx">
> > >                <option value="33">Unu</option>
> > >                <option value="44">Psatru</option>
> > >                <option value="55">Cinci</option>
> > >               </select></td>
> > >           <td><input type="text" value="mother"</td>
> > >           <td>nimic</td>
> > >          </tr>
> > >         </table>
>
> > > how find value of first input, value of select,value of next input,
> > > text of <td><nimic/td> and id of <tr> by click on each <tr id="">
> > > Thank you.

Reply via email to