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

Javascript code as a Ajax response

P: 5
Hi, I am facing a problem regarding ajax and javascript.

I want to get some html and javascript code as a responsetext from ajax.
I am getting that in browser,but in Internet Explorer javascript code is not executing and giving error.

What should i do?
Please help me out from this problem.
Dec 14 '07 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
Add the JavaScript code to the head section:
Expand|Select|Wrap|Line Numbers
  1. document.getElementsByTagName("head")[0].appendChild(jsScript);
Dec 14 '07 #2

Post your reply

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