Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error in innerHTML and xmlReq.responseText;

Status
Not open for further replies.

migueldesousa

Programmer
Mar 3, 2008
3
PT
hi there,
in IE i have the follow problem:
when i try to do this
document.getElementById("minhaDiv").innerHTML=xmlReq.responseText;
it gives me an "Unknown error",
if i do
document.getElementById("minhaDiv").innerHTML="x";
or
var x = "X";
document.getElementById("minhaDiv").innerHTML=x;
its ok any ideias ????
thank you in advance
 
can you post your code for creating the xml object? if the object is yet undefined, it'll err.
 
...its ok any ideias ????

Alert xmlReq.responseText to see of this is undefined.

Cheers,
Jeff

[tt]Jeff's Blog [!]@[/!] CodeRambler
[/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
1: the object is created because if you put a string like this : obj.innerHTML = "x"; it appears on the screen.
2: it shows the desired table.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top