[thelist] Submitting a Form With a Link

Anthony Baratta Anthony at Baratta.com
Tue Jun 26 14:21:29 CDT 2001


While you can submit forms via a link, you can not return a true/false to 
the HREF. The response you get is sub-optimal to say the least. ;-)

Jeff last week mentioned a cool hack to avoid that using Javascript 
comments and the onClick event. But if you want a straight HREF submit, 
don't return a true or false. Just have the Javascript Function show the 
alert and then quit or submit the form then quit.

---
Anthony Baratta
President
Keyboard Jockeys

Blatant Plug: Cool Jazz for a hot summer,
     http://LisaMarie.Baratta.com





More information about the thelist mailing list