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(
function(){alert("test");
}); .
My table format is this way
<table id="srTable">
<tbody>
<tr><td>some thing</td></tr>
<tr><td>some thing</td></tr>
<tr><td>some thing</td></tr>
<tr><td>some thing</td></tr>
</tbody>
</table>
Please help me out how to fix this problem with selector in IE.
Andy Matthews-4 wrote:
>
>
> What are you expecting to happen and what's actually happening? Do you
> have
> a link that you could post? You've got to give some history as to what's
> going on before someone can help you out.
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Potluri
> Sent: Friday, August 17, 2007 3:13 PM
> To: [email protected]
> Subject: [jQuery] problem looping through table rows in IE
>
>
>
> Hi every one,
> Please help me out in solving this problem. I face this only in
> IE,
> I've table with id="srTable", so I'm looping through the table rows using
> selector $("> tbody:first/tr","#srTable") .each(function(){}); , the table
> has only one tbody with multiple rows in it.
> Please post reply only if you have straight answers for this problem.
> Thanks,
> Vijay
> --
> View this message in context:
> http://www.nabble.com/problem-looping-through-table-rows-in-IE-tf4287894s154
> 94.html#a12206436
> Sent from the JQuery mailing list archive at Nabble.com.
>
>
>
>
--
View this message in context:
http://www.nabble.com/problem-looping-through-table-rows-in-IE-tf4287894s15494.html#a12207099
Sent from the JQuery mailing list archive at Nabble.com.