On 1/25/07, Karl Swedberg <[EMAIL PROTECTED]> wrote:
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?
The error occurs when the *first* ID selector doesn't exist. See my test
page for an example:
http://aheimlich.freepgs.com/tests/jquery/111-id-selector-bug/
--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/