Hey dude, why you wanna loop thrungh table rows????Awaiting for your answer,Alexandre MagnoWeb developerhttp://blog.alexandremagno.net> Date: Fri, 17 Aug 2007 14:48:41 -0700> From: [EMAIL PROTECTED]> To: [email protected]> Subject: [jQuery] Re: problem looping through table rows in IE> > > > Hi Olaf, > I really appreciate your suggestion. I used this way of looping until late> but this type of looping is quite slow for table with 300 rows, but the> other way which I'm trying to do in firefox> $(">tbody:first/tr","#srTable").each(); is tons faster for table with large> number of rows. I checked in firefox this type of looping was awesome but in> IE it doesn't even loop. > To be more concise I think its bug in jquery thats need to be resolved for> selecting rows using child selector. > > I dont feel any problem until here $(">tbody:first","#srTable")---this> selects entire tbody of table but when I'm trying to select rowsof tbody> using / like $(">tbody:first/tr","#srTable").each();, it doesn't work in IE> but works excellent in firefox. > Can you please help me out in how to make it work in IE. It would be gr8 if> you figure out a way. > Thanks,> Vijay> > > Olaf wrote:> > > > > > Potluri schrieb:> >> > >> I'm planning to loop through the rows of table and get the id of each row> >> but> >> I'm not able to loop through the rows in IE but in firefox it works. I> >> can't> >> provide you with any links at this point. When I'm trying to put an alert> >> message inside the loop of each, it doesn't give the alert message. but> >> in> >> firefox it alerts 10 times if table has 10 rows with same selector as> > > >> $(">tbody:first/tr","#srTable").each(> > > > What about this:> > > > $(document).ready(function(){> > $("#srTable tbody tr").each(> > function(){alert("test");> > });> > });> > > > This give me 3 alerts in a table with 3 rows.> > > > -- > > Viele Grüße, Olaf> > > > -------------------------------> > [EMAIL PROTECTED]> > http://olaf-bosch.de> > www.akitafreund.de> > -------------------------------> > > > > > -- > View this message in context: http://www.nabble.com/problem-looping-through-table-rows-in-IE-tf4287894s15494.html#a12207743> Sent from the JQuery mailing list archive at Nabble.com.> _________________________________________________________________ Conheça o Windows Live Spaces, a rede de relacionamentos conectada ao Messenger! http://spaces.live.com/signup.aspx
[jQuery] Re: problem looping through table rows in IE
Alexandre Magno Teles Zimerer Fri, 17 Aug 2007 18:38:55 -0700

