Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

innerHTML and script in AJAX

 
Debashree Halder
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How we can add script in innerHTML?
Actually I'm using AJAX for dynamic loading of page in one div. Where I'm using innerHTML property of div to load jap page. But it's script portion is not grtting loaded.

I'm using,

document.getElementById("tabContentDiv").innerHTML=http_request.responseText

Thanks,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic