[thelist] Tip: Converting to XHTML, javascript, name, id
Kristof Neirynck
k.neirynck at belgacom.net
Sun Aug 25 13:04:01 CDT 2002
<tip type="Converting to XHTML, javascript, name, id" author="Kristof
Neirynck">
in javascript:
change document.forms[formName].elements[elementName]
to document.forms[formNumber].elements[elementName]
in XHTML:
remove the name atribute from the form tag
results:
valid XHTML.
and a javascript that works in NS4+
</tip>
Kristof
ps: please let me know if I'm wrong
More information about the thelist
mailing list