File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: innerHTML and script in AJAX
 
Similar Threads
Eric, come in please
DIV containing a script
how to load HTML in DIV
502 Bad Gateway error during process
Javascript issue when loading the JSP page content via an AJAX call