|
|
| Author |
Message |
davia
Joined: 23 Dec 2006 Posts: 1
|
Posted: 12/23/06 - 05:00 Post subject: Problem with javascript in FireFox? |
|
|
I thought JavaScript was handled better in v2.0 of Firefox? Before, I had so much coding incompatibility issues that I just switched to Opera and stayed with it, but since I heard FF 2 was handling JS better, I thought I'd give it a try … and what do you know, first test, first failure: My page opens normally in IE and Opera, but in Firefox, it just generates an error a saying "object required line 22". What's going on with FF and JS, then?
|
|
|
Back to top
|
|
|
|
 |
zelaya
Joined: 23 Dec 2006 Posts: 1
|
Posted: 04/25/07 - 10:46 Post subject: |
|
|
First of all, I can't see that sample page, the link seems to be dead. Second of all, the missing object thing has the simplest of workarounds: Go to the line in question, and instead of what you've got there, put in an object, like so: var temp=new Object();
|
|
|
Back to top
|
|
|
|
 |
|