![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Let's say I had a single HTML page with two individual forms on it. Each form had its own search button named like this input type="submit" name="firstform" value="A" And input type="submit2" name="secondform" value="B" How would I implement a onLoad event so that the form button named "secondform" would send its data automatically when the page loads? Thanks very much for your help |
#2
| |||
| |||
|
#3
| |||
| |||
|
|
untested, and I'm not expert... but wouldn't this work? body onload="secondform.submit()" ---------- Shawn Wilson "Fred" <x@x.com> wrote in message news:bha7h1dbh8nc5d73guktmeovh0ep23fk6i (AT) 4ax (DOT) com... Let's say I had a single HTML page with two individual forms on it. Each form had its own search button named like this input type="submit" name="firstform" value="A" And input type="submit2" name="secondform" value="B" How would I implement a onLoad event so that the form button named "secondform" would send its data automatically when the page loads? Thanks very much for your help |
#4
| |||
| |||
|
|
Thanks Shawn I'll give it a try Mon, 29 Aug 2005 21:53:20 GMT, "Shawn Wilson" <shawnw (AT) dvigroup (DOT) net wrote: untested, and I'm not expert... but wouldn't this work? body onload="secondform.submit()" ---------- Shawn Wilson "Fred" <x@x.com> wrote in message news:bha7h1dbh8nc5d73guktmeovh0ep23fk6i (AT) 4ax (DOT) com... Let's say I had a single HTML page with two individual forms on it. Each form had its own search button named like this input type="submit" name="firstform" value="A" And input type="submit2" name="secondform" value="B" How would I implement a onLoad event so that the form button named "secondform" would send its data automatically when the page loads? Thanks very much for your help |
#5
| |||
| |||
|
|
Nope, I could not get it to work... On Mon, 29 Aug 2005 21:17:34 -0700, Fred <x@x.com> wrote: Thanks Shawn I'll give it a try Mon, 29 Aug 2005 21:53:20 GMT, "Shawn Wilson" <shawnw (AT) dvigroup (DOT) net wrote: untested, and I'm not expert... but wouldn't this work? body onload="secondform.submit()" ---------- Shawn Wilson "Fred" <x@x.com> wrote in message news:bha7h1dbh8nc5d73guktmeovh0ep23fk6i (AT) 4ax (DOT) com... Let's say I had a single HTML page with two individual forms on it. Each form had its own search button named like this input type="submit" name="firstform" value="A" And input type="submit2" name="secondform" value="B" How would I implement a onLoad event so that the form button named "secondform" would send its data automatically when the page loads? Thanks very much for your help |
#6
| |||
| |||
|
|
Let's say I had a single HTML page with two individual forms on it. Each form had its own search button named like this input type="submit" name="firstform" value="A" And input type="submit2" name="secondform" value="B" How would I implement a onLoad event so that the form button named "secondform" would send its data automatically when the page loads? |
![]() |
| Thread Tools | |
| Display Modes | |
| |