Opened 15 years ago
Closed 14 years ago
#2270 closed bug (duplicate)
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
Change History (4)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
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
comment:3 Changed 15 years ago by
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.
comment:4 Changed 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #2079 it appears. If you have another test case you'd like to submit to show the problem feel free to reopen the ticket.
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: