View Full Version : Javascript and Firefox

05-04-2006, 07:28 AM
Does anyone know any issues with javascript running on a firefow web browser?
I am writting some scripts and don't want to get burned.

Bill Posters
05-04-2006, 09:36 AM
Nothing you really need to (pre)worry about as FF has some of the best js support of the current range of browsers.
Just try to steer clear of using proprietory methods such as document.all and you should be ok.
Stick to using DOM 0 and W3C DOM methods and you shouldn't hit too many snags.

You should still test in FF (and others) to make sure your script works for sure.
Rather than list any and every potential problem here, it's far easier for us if you create your script, find out if it works in your targeted browsers. Then, if it doesn't work, post a query asking for help getting the problem sorted out - preferably with either the code in question pasted into the post or (even better) by posting a link to the site with the current, non-working js where we can see exactly what's going on in both your js and any other code which may influence whether your js works or not.

05-05-2006, 01:10 AM
Provided that you write Javascript and not JScript then your code should work fine in all modern browsers including Firefox. You may need to add some JScript and tweak the code slightly to get it to also work on Intranet Explorer.