[jQuery] problem with selector

2008-06-17 Thread jokin
In going through the 'Learning jQuery' book, I did some experimenting with the content of 'Chapter 1/alice.html'. Specifically, I have this selector and statement... $(document).ready(function() { $('.poem-stanza > div:eq(1)').addClass('blue_txt'); }); The problem is that when this is applied on

[jQuery] problem with selector in IE

2007-08-17 Thread Potluri
Hi, I face this selector problem only in IE(that sucks). What I'm trying to do is select rows of a table by looping through them like I've table with id srTable as a1 a2 a3 a4 I'm trying to loop through rows of table as $("> tbody:first>tr","#srTable").each (function() { alert("vj