[jQuery] Re: problem with selector in IE

2007-08-18 Thread Potluri
Thanks a lot it works for me. I realized that IE is not recognizing child selectors. Cybolic wrote: > > > IE has problems with selectors on dynamic elements (elements created > in script), but can handle classes just fine, so if you can change > your code to hunt classes instead, that should

[jQuery] Re: problem with selector in IE

2007-08-18 Thread Cybolic
IE has problems with selectors on dynamic elements (elements created in script), but can handle classes just fine, so if you can change your code to hunt classes instead, that should work. ...or use Geneshjii's advice and see if you can't speed that up instead. Having class="srRow" on every tr a

[jQuery] Re: problem with selector in IE

2007-08-18 Thread Potluri
I Ganesh, The way you are suggesting to loop through is not the optimal way for tables with 500 rows but the way I'm trying to loop through results is faster and efficient even though it seems to be complicated. Do you have any idea how to make this work. Thanks. Ganeshji Marwaha wrote: > > i

[jQuery] Re: problem with selector in IE

2007-08-17 Thread Ganeshji Marwaha
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.

[jQuery] Re: problem with selector in IE

2007-08-17 Thread Potluri
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 bro

[jQuery] Re: problem with selector in IE

2007-08-17 Thread Stephan Beal
On Aug 17, 7:36 pm, Potluri <[EMAIL PROTECTED]> wrote: > > > a1 > a2 > a3 > a4 > > This isn't legal HTML. TR elements can only contain TD elements, not text. Try replacing each row with: a1