Side navigation
#2270 closed bug (duplicate)
Opened February 02, 2008 01:39AM UTC
Closed November 12, 2008 08:22AM UTC
main demo broken in firefox 2
Reported by: | jsprenkl | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.2.3 |
Component: | core | Version: | 1.2.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The demo on this page
http://docs.jquery.com/UI/Tabs
fails in Firefox 2.0
Shows a regular unordered list.
The error console shows no problems except the call to urchin
tracker. I do get a lot of warnings about jquery
though
Warning: reference to undefined property elem.nodeType
Source File: http://code.jquery.com/jquery-latest.js
Line: 1020
Attachments (0)
Change History (4)
Changed March 09, 2008 03:37PM UTC by comment:1
Changed March 09, 2008 03:49PM UTC by comment:2
I've just tried the exact same setup but with jquery-1.2.3.js in place of jquery-1.2.3.min.js .
The result is identical, except that the error console messages point to line 1045 instead.
I'd appreciate any suggestions about how to resolve this!
Thanks,
Sam
Changed March 10, 2008 04:09AM UTC by comment:3
First of all note this is a "warning" and not an "error".
Unfortunately, the answer to fix it is likely to set "javascript.options.strict" to false. In firefox, the user has the option to set it to true. From what I've seen it is always false by default but some developers turn it on.
The theory of this setting is it will help you catch some errors in your code by throwing warnings for common mistakes people make. In practice, sometimes the warnings are misleading, making people think there is an error when really it isn't. This has been brought up a few times. If you are interested in reading more details about this issue (like why we currently have no plans to fix it) check the below ticket and read the thread linked in the comments.
I'm experiencing a very similar problem.
I'm using:
''Macbook 2.13GHz, 2GB RAM
Windows Vista Home Premium via Leopard Boot Camp
Firefox 2.0.0.12
jquery-1.2.3.min.js
jQuery innerfade III
XAMPP (basic package) version 1.6.6a''
I've written an XHTML document that I'm serving to Firefox via XAMPP. The document validates as XHTML 1.0 strict.
When I open the page in Firefox (at http://localhost/myproject/index.html via XAMPP), the Firefox error console gives me the following error,
many times over:
The XHTML code looks like this: