[thelist] DOM in Mozilla
Nickolay Kolev
nmkolev at uni-bonn.de
Thu Oct 31 07:09:01 CST 2002
<p>
<label for="searchField" id="searchLabel">Find</label>
<input type="text" name="keywords" id="searchField" />
</p>
<script type="text/javascript">
<!--
theLabel = document.getElementById("searchLabel");
theField = document.getElementById("searchField");
theField.value = theLabel.firstChild.nodeValue;
theLabel.style.display = 'none';
// -->
</script>
Doctype is XHTML Transitional. Mozilla 1.2Beta. IE6 no service
packs.
_nmk
More information about the thelist
mailing list