how on earth do you write javascript code that works across all mayor browser? RRS feed

  • Question

  • I am trying to learn javascript but when i do even simple things like adding or removing element programmatically all work well in IE but

    as soon as i try with firefox or chrome  somethig works but the most does not!

    How can you build a complex application in this conditions?

    javascript was supposed to be cross browser??!!!

    What do you have to do to create a cross browser application with javascript? Is this really possible?

    • Edited by marck68 Saturday, May 12, 2012 8:54 PM
    Saturday, May 12, 2012 7:52 PM


  • Use jQuery to write your client-side apps. It is a JavaScript library that not only simplifies writing JavaScript code but also handles cross-browser issues.

    M.V.'Anil' Radhakrishna
    Web Development Tips, Tricks & Trivia

    • Marked as answer by marck68 Monday, May 14, 2012 6:30 AM
    Sunday, May 13, 2012 1:52 PM