Thats really surprising, the same code doesn't work for me but works for you.
No I dont have IE in quirks mode. Does that make a difference?. Do you know
any other way to make this work.
Thanks.

Olaf wrote:
> 
> 
> 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
> -------------------------------
> 
> 

-- 
View this message in context: 
http://www.nabble.com/problem-looping-through-table-rows-in-IE-tf4287894s15494.html#a12213809
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to