wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes innerHTML and script in AJAX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "innerHTML and script in AJAX" Watch "innerHTML and script in AJAX" New topic
Author

innerHTML and script in AJAX

Debashree Halder
Ranch Hand

Joined: Jul 27, 2005
Posts: 81
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,


Debashree Halder<br />SCJP 1.5<br />Washington DC
 
GeeCON Prague 2014
 
subject: innerHTML and script in AJAX