oops
<snip>
> if (isIE && startNode.nodeName == "FORM" && criteria == "name"){
> if (startNode.attributes['name'].nodeValue == value) {
> return startNode;
> }
> } else {
The code above is not needed. It has something to do with an IE problem
with Form Nodes and the Node.getAttribute() method. If you execute
aFormNode.getAttribute("name"), and you have an <input name="name"> in
the form, ha ha, it returns the value of the input instead of the form
tag attribute. Doesn't seem to do that with attributes['x']. Anyway,
this is definitely OT, and maybe something like document.forms['myForm']
is more appropriate for your problem.
- Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]