[thelist] javascript - how to refer to (x)html elements
Joshua Olson
joshua at waetech.com
Wed Nov 12 20:47:57 CST 2003
----- Original Message -----
From: "Tim Burgan" <burgan at iprimus.com.au>
Sent: Wednesday, November 12, 2003 9:44 PM
> Hi Jeff.
>
> Your suggestion:
>
> : <form action="" method="get"
> : onsubmit="collectInfo(this.form)">
> I can't seem to get working for some reason.
> It's as if the oForm isn't being "read" properly or something like that.
There's a slight typo in jeff's code:
<form action="" method="get"
onsubmit="collectInfo(this.form)">
Should be:
<form action="" method="get"
onsubmit="collectInfo(this)">
If you look at the post I made this morning you'll see a correct reference
to this same technique.
<><><><><><><><><><>
Joshua Olson
Web Application Engineer
WAE Tech Inc.
http://www.waetech.com
706.210.0168
More information about the thelist
mailing list