By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,576 Members | 1,399 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,576 IT Pros & Developers. It's quick & easy.

div tag not supporting js files

P: 1
I used ajax and getting the response text while printing it directly ..
Expand|Select|Wrap|Line Numbers
  1. document.write(pr.responseText);
but when I'm using
Expand|Select|Wrap|Line Numbers
  1. document.getElementById("gtab").innerHTML=pr.responseText
I'm not getting the correct output.
what might be the reason
Oct 17 '07 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
What is returned as the response in pr.responseText?
Oct 17 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.