About KJS::HTMLCollection::getNamedItems

Koos Vriezen koos.vriezen at xs4all.nl
Wed Aug 14 23:06:00 BST 2002


Hi,

Getting a route from www.routenet.nl doesn't work because they do
something like:

  <form name="myname">
     <input name="myname" type="radio" value="xx">
     <input name="myname" type="radio" value="yy">
  </form>

When the user submits, a script copies 'document.myname.myname.value' to a
hidden form element before posting.
KHTML returns a collection on 'document.myname' and next throws a script
error on 'document.myname.myname'.

Btw, doing a '"" + document.myname', generates a 'Type error: No default
value' script error.

Regards,

Koos





More information about the kfm-devel mailing list