Potluri schrieb:
Can you please help me out in how to make it work in IE. It would be gr8 if
you figure out a way.
Uups, i tested this. Its work in IE7, IE6+5.5 standalone, not in IE5.0
standalone
Have you got IE in QuirksMode?
<script type="text/javascript" src="jquery.js">
</script>
<script type="text/javascript">
$(document).ready(function(){
$(">tbody:first/tr","#srTable").each(
function(){alert("test");
});
});
</script>
with this HTML, give me 3 alerts
<div>
<table id="glub">
<thead>
<tr>
<th>People</th>
<th>Ages</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr>
<td>John</td>
<td>68</td>
<td>none</td>
</tr>
<tr>
<td>Joe</td>
<td>99</td>
<td>none</td>
</tr>
<tr>
<td>Mary</td>
<td>72</td>
<td>none</td>
</tr>
</tbody>
</table>
<table id="srTable">
<thead>
<tr>
<th>People</th>
<th>Ages</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr>
<td>John</td>
<td>68</td>
<td>none</td>
</tr>
<tr>
<td>Joe</td>
<td>99</td>
<td>none</td>
</tr>
<tr>
<td>Mary</td>
<td>72</td>
<td>none</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th>People</th>
<th>Ages</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr>
<td>John</td>
<td>68</td>
<td>none</td>
</tr>
<tr>
<td>Joe</td>
<td>99</td>
<td>none</td>
</tr>
<tr>
<td>Mary</td>
<td>72</td>
<td>none</td>
</tr>
</tbody>
</table>
</div>
--
Viele Grüße, Olaf
-------------------------------
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
-------------------------------