body Onload wuth IE7

Discussion in 'Javascript' started by patrice.fiset, May 1, 2007.

  1. Can someone tell me why this code is good in firefox but not in IE7?

    Thanks

    <body onLoad=javascript:switchMenu('expandDesc_16')>
     
    patrice.fiset, May 1, 2007
    #1
    1. Advertisements

  2. patrice.fiset

    VK Guest

    <body onload="switchMenu('expandDesc_16')">
     
    VK, May 1, 2007
    #2
    1. Advertisements

  3. It still not work in IE7

    <body onLoad="switchMenu('expandDesc_16')">


    This code works good on Firefox but not on IE?

    :(

    Any thoughts?
     
    patrice.fiset, May 1, 2007
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.