sayedsohail Posted August 6, 2007 Share Posted August 6, 2007 Hi everyone, If i use alert("status is " + request.status);, it works fine. but if pass the response into function update("Status is:"+request.status);, than it says error. function update(str) { document.getElementById("popmess").innerHTML=str; //popmess is div element with an id=popmess. } Is something wrong with my script.? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.