![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveRe: Reading value from label (DIV) with JS
From: Ivo <no@thank.you>
Date: Mon Aug 08 2005 - 22:09:47 CEST
"Mateo" wrote
Try this:
The first child of the element is the textnode (if it isn't, the element
> It would be also nice to find universal way for setting text for label or
This nodeValue thing is even read/write, so a statement like:
document.form1.lblMyLabelControl.firstChild.nodeValue = 'Some new text';
would set the displayed text to, well, some new text.
There are other ways.
|