i don't see why the selector needs to be that complex. I would do it this way...
$("#srTable tr").each(function() { alert("test"); }); -GTG On 8/17/07, Potluri <[EMAIL PROTECTED]> wrote: > > > > sorry that a typo.. I know that rows contain colomns. My table already has > multiple colomns. I just provided example to make you understand clearly. > The main problem is looping forget abt the way table is right now. I want > the optimal way to loop through the rows in table which works in both > browsers. Thats the bottom line. Thnaks any way.. > > Stephan Beal-3 wrote: > > > > > > On Aug 17, 7:36 pm, Potluri <[EMAIL PROTECTED]> wrote: > >> <table id="srTable"> > >> <tbody> > >> <tr>a1 </tr> > >> <tr>a2 </tr> > >> <tr>a3 </tr> > >> <tr>a4 </tr> > >> </tbody> > >> </table> > > > > This isn't legal HTML. TR elements can only contain TD elements, not > > text. > > Try replacing each row with: > > > > <tr><td>a1</td></tr> > > > > > > > > > > -- > View this message in context: > http://www.nabble.com/problem-with-selector-in-IE-tf4287169s15494.html#a12204624 > Sent from the JQuery mailing list archive at Nabble.com. > >