aspose file tools
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


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: innerHTML and script in AJAX