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 Head First Android this week in the Android 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: innerHTML and script in AJAX
 
It's not a secret anymore!