...

View Full Version : Ajax code in Mozilla its working, but not in IE



somayajuluyvrr
02-02-2007, 06:16 AM
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';

A1ien51
02-02-2007, 04:20 PM
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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum