I have a somewhat similar problem with ID selectors, and I posted a message
about it and a bug but so far I haven't gotten a single response from anyone
(here's the bug: http://jquery.com/dev/bugs/bug/881/).

My problem is IDs preceded by a class or another ID (i.e. ".myClass #myId"
or "#firstId #secondId").  It's causing an exception in the jquery code on
this line:

   if ( m[1] == "#" && ret[ret.length-1].getElementById ) {

I don't know if it's related to yours or not.

-Jennifer


Hi,

I've just upgraded from 1.0.3 to 1.1.1 and some selectors don't work 
anymore.
A simple selector like $("div#tab_1") cant' find the div <div id="tab_1"> 
in v1.1.1 while there was no problem with v1.0.3 .

So unless the selecting philosophy has greatly changed between these two 
versions, I guess this is a pretty important bug.

It seems to be OK on 1.0.4 though, but I have a "$(document).ready is not 
a function" error.

Can somebody tell me if I'm wrong or if it's a bug ? 

Thanks in advance 

-- 
Vincent FUCHS

-- 
View this message in context: 
http://www.nabble.com/simple-selector-with-ID-doesn%27t-work-anymore-tf3080046.html#a8636549
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to