On Jan 25, 2007, at 3:56 PM, Aaron Heimlich wrote:
And that solves it! The release version of jQuery 1.1.1[1] is SVN
Rev. 1153 and you claim[2] to be using SVN Rev. 1173. This issue
must have gotten fixed sometime after 1.1.1 was officially released.
Good idea, but that's not it. I just dropped jquery-latest.js in
there instead, and it still looks good to me:
http://test.learningjquery.com/ids.htm
On Jan 25, 2007, at 3:54 PM, jgrucza wrote:
Actually it was my problem, not Giuliano's. And I failed to
mention an
important fact, that I only get the error when my HTML does not
include the
element I'm selecting for. Also it has gotten weirder, because now
I'm
getting the same error with previous versions of jQuery, even
though I know
I never saw it until I upgraded.
Jennifer,
I just put in two bogus selectors similar to yours -- bogus in that
neither one is actually on the page -- and I don't see any errors.
$('div#third-para').addClass('test2');
$('#main-content #fourth-para').addClass('test2');
I don't have anything with id="third-para" or id="fourth-para" on the
page.
Maybe the error is occurring elsewhere?
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/