Javascript compatibility issue with IE6 and IE7

Last post 12-28-2007 3:04 PM by hmasamra. 5 replies.

Sort Posts:

  • Javascript compatibility issue with IE6 and IE7

    12-28-2007, 10:09 AM
    • Loading...
    • hmasamra
    • Joined on 08-04-2007, 6:33 PM
    • Posts 14

    Javascript code doesn't work in IE7

    I have a webpage which to used work just fine in IE6, but when using the same page in IE7 , many of the site users started complaining that some button are not functioning at all.

    The webpage shows and plays audio clip for students, and then the student can record his/her voice.

    The play/Pause/stop buttons for playing the audio file works just fine.

    but the buttons for recording area (stop/pause/replay), and after you click record button, thses three buttons will not respond at all, except for one case, if the student right-click on the button and choose open link from the menu.

    This is happening only in IE7.

    I have included the page link to see i what i mean that this page works fine with IE6 but not IE7.

    To be able to use this page you have to download this recording/playback software it's only 1.8 MB in size and it's safe, here is the link:

    Any suggestions are welcome

  • Re: Javascript compatibility issue with IE6 and IE7

    12-28-2007, 10:27 AM
    • Loading...
    • A1ien51
    • Joined on 05-06-2005, 6:46 PM
    • MD USA
    • Posts 2,852

    well I just looked over the source real quick and did not actually test it.

     
    One thing I noticed is that

     document.off01.src

     is bad coding practice. You should give the element an id and reference it with document.getElementById("theId").src

    Are you getting any errors in IE7? What is the error message saying?

    Eric 

     

    Coauthor of Ajax In Action [#1 Computer and Internet book on Amazon for 2006]

    If you get an answer to your question, please mark it solved so people don't waste time reading already answered questions!
  • Re: Javascript compatibility issue with IE6 and IE7

    12-28-2007, 10:48 AM
    • Loading...
    • hmasamra
    • Joined on 08-04-2007, 6:33 PM
    • Posts 14

    A1ien51:

    Are you getting any errors in IE7? What is the error message saying?

    No, I'm not getting any error message, but the page freezes completely whenever i start recording and then i want to stop/pause recording.

     

  • Re: Javascript compatibility issue with IE6 and IE7

    12-28-2007, 11:18 AM
    • Loading...
    • hmasamra
    • Joined on 08-04-2007, 6:33 PM
    • Posts 14

    A1ien51:

     document.off01.src

     is bad coding practice. You should give the element an id and reference it with document.getElementById("theId").src

    I tried changing the code as you recommend, but i got that the new Id, is undefined.

     

    You can check that too, it's online.

    Thanks for your time.

  • Re: Javascript compatibility issue with IE6 and IE7

    12-28-2007, 12:09 PM
    • Loading...
    • hmasamra
    • Joined on 08-04-2007, 6:33 PM
    • Posts 14

    I removed the new id, so anyone can test the page.

    One more thing i found now while testing the page:

    After finish recording, if you double click any button, again the page freezes and will not respond, and the only solution is to close the browser!!!

    Any help.

     Thanks in advance.

     

  • Re: Javascript compatibility issue with IE6 and IE7

    12-28-2007, 3:04 PM
    • Loading...
    • hmasamra
    • Joined on 08-04-2007, 6:33 PM
    • Posts 14

    Any suggestions

Page 1 of 1 (6 items)
Microsoft Communities
Page view counter