i am using AJAX call to get the values from server side. Ajax call returning the whole html page in the xmlHTTP.reponseText. when i am assing the xmlHTTP.reponseText to document.getElementById("..").innerHTML its throwing unknown runtime error. document.getElementById("..").innerHTML = xmlHTTP.reponseText Please give solution to resolve this problem