[jQuery] Selector bug?
[jQuery] Selector bug?
<span style="font-family: verdana,sans-serif;">Am I right that both of these should be identical?</span>
<span style="font-family: courier new,monospace;">$('#linkList tr:gt(0):odd td:first').text();</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">$('#linkList tr:gt(0):odd').find('td:first').text();</span>
<font face="verdana,sans-serif"><span style="font-family: verdana,sans-serif;">The first one only returns 1 result instead of all, it behaves just like:</span>
</font><span style="font-family: courier new,monospace;">$('#linkList tr:gt(0):odd:first td:first').text();</span>
<span style="font-family: verdana,sans-serif;">If I'm right then the first one contains a bug.</span><br clear="all">
--
Isaak Malik
Web Developer