A <div> question

admin

Administrator
Staff member
Heres what I'm trying to do, I'm trying to use div.innerHTML to place the HTML output of an ASP page. i.e.

<div id="test"></div>

<script language="JavaScript">
test.innerHTML = pagewithinfo.asp
</script>

Now, I realize that setting test.innerHTML to pagewithinfo.asp will just output that text on the website, instead I want the processed HTML from pagewithinfo.asp to be displayed in the div.

Any help is appreciated! :)
 
Back
Top