![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveRe: script on page
From: alu <none@none.com>
Date: Mon Aug 29 2005 - 17:58:24 CEST
"P4tryk" <p4tryk@patryk.pl> wrote
> <script>
> How to make the script from added innerHtml to run.
innerHTML is case sensitive, and getElementById is a method of the document
The correct syntax would be:
document.getElementById("replaceContent").innerHTML=httpReq.text;
-alu
|