Differences between IE and FireFox

by 9 replies
11
Hi

I ran into an article today that you may find useful:

7 JavaScript Differences Between Firefox & IE Web Design Articles & Tutorials

Basically it's as the title says, a list of differences in the way IE and FireFox interpret JavaScript. Good stuff to know - I'm writing an AJAX-based user interface right now and obviously JavaScript is a fundemental component.

Hope you find it useful too.

Bill
#programming #differences #firefox
  • very useful. thanks.
    • [1] reply
    • These (and a few other) differences are among the reasons I like to use JQuery when I'm working with all but the simplest of scripts in Javascript.

      BTW it's interesting that the article doesn't mention one of the differences between the two browsers that's definitely going to affect you if you're working with AJAX (unless you're using a framework like JQuery, Prototype, etc). The browsers handle XMLHttpRequest differently. In Firefox the XMLHttpRequest object is "part of the language" and it's simple to create an instance when you need it. In IE it's still pretty simple, but it requires a couple ActiveX calls to get the object and create an instance.
  • Yes I'm aware of the XMLHTTPRequest issue, fortunately it's a fairly easy one to code around. Another typical example of Microsoft doing it differently than everyone else!

    I have to say that Internet Explorer quirks (JavaScript and others) are probably the most frustrating part of designing online applications, I recall dealing with this 10 years ago when I was coding sites to detect browser type and used different pages for Explorer and Netscape (ugh!). There is another list of IE oddities at this site:

    Explorer Exposed!

    Unfortunately IE is not going to go away, as the default browser included with Windows it will remain a dominant force. Lets face it, many people with limited Internet knowledge think the the "blue e" is the only way to access the web, and thats not likely to change soon.

    Of course you could also handle it the way this guy did!

    Secret Trick For Dealing With Internet Explorer Problems | David Risley dot com

    Happy coding!

    Bill
    • [1] reply
    • yes thats the main difference between IE and fire fox
  • Banned
    [DELETED]
  • its cool and very informative, thanks for bringing this up.. cheers.!
  • Hey!

    There should be a more complete list of differences between all browsers out there!
    But thanks for the article, very informative!
  • css is probably the most confusing part of browsers ... it works fine in 1 but not the other one ...

    good article
  • quite useful, thanks.
  • @delsauzo: You might have not been using IE for years, but if you are a web developer (which means you are creating websites and web applications for end users), you simply have to use it to thoroughly test every aspect of your websites ...

    Things have gone for the better with IE7 (and I am hoping for the best with IE8), but in IE6 quite a lot of javascript might not work properly and your design might be all messed up ...

    I guess this is why I have 7 browsers installed.

Next Topics on Trending Feed