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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Ajax code in Mozilla its working, but not in IE

    Below code is successfully working in Mozilla. But in Internet Explorer if i get data in commentbox div id , i am not getting fornewcomment div id . if i dont want to get data from commentbox div id, i m getting fornewcomment div id. But i want both data of commentbox & fornewcomment. Kindly help me plzzz..

    advAJAX.submit(document.getElementById("editorformid"), {
    onSuccess : function(obj) {

    var restxt=obj.responseText;
    document.getElementById('commentbox').innerHTML=restxt;
    document.getElementById('fornewcomment').style.display='block';
    document.getElementById('editorbox').style.display='none';

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    I really think you need to read what you wrote. It does not make any sense.


    Are you getting an error message in IE?

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]


  •  

    Posting Permissions

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