Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2006
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript and Firefox

    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.

  • #2
    Senior Coder
    Join Date
    Feb 2003
    Posts
    1,665
    Thanks
    0
    Thanked 27 Times in 25 Posts
    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.
    Last edited by Bill Posters; 05-04-2006 at 08:38 AM.

  • #3
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,592
    Thanks
    0
    Thanked 645 Times in 635 Posts
    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.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •