Monday June 20, 2005
HowTo set the default submit button on a form Howard has a nice little trick for setting the default submit button on a form. Basically, you just put the default button first, and then use style="display: none" to hide it. For the most part, I haven't had any issues with putting the default submit button first (i.e. "Save"), but I have noticed an issue when developing wizards (b/c "« Previous" is likely to be first). Nice tip Howard. Posted in The Web at Jun 20 2005, 08:58:53 AM MDT 3 Comments
Matt Raible is a Web Architect who enjoys developing applications with open source technologies. Contact me for rates.
Search This Site
Recent Entries
- Happy Birthday Mom!
- 2008 - A Year in Review
- Portland Tech Meetup Tomorrow Night
- My "almost slept in a snow cave" Adventure with Clint Foster
- My Christmas Travel Adventure
- AppFuse Light converted to Maven modules, upgraded to Tapestry 5 and Stripes 1.5
- Dojo/Comet support in Java Web Frameworks
- Abbie is a Blue Skier!
- How I recovered data from my failed Linux box
- Costa Rica was Awesome!
Posted by will budreau on May 05, 2006 at 06:00 PM MDT #
This didn't work for me in internet explorer 6.
I used a div with style="display: none" and that worked.
Posted by boris on August 17, 2007 at 06:58 AM MDT #
Posted by pederbl on April 18, 2008 at 05:13 PM MDT #