A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to set default image button
Joined: Aug 11, 2005
Aug 12, 2005 00:29:00
I have 2
buttons on my
page. And I want to set one button to defualt. That is when the user hits an Enter key on this page that particular default button should get selected and do the action specified to it.
Need your suggessions.
Thanks for your help.
Joined: Oct 29, 2003
Aug 12, 2005 05:39:00
Not sure I understand, is this a form post? Or just a link to an action?
Joined: Feb 05, 2003
Aug 12, 2005 08:27:00
Browsers will render the page so that the first button in the form's html is the one that submits the form when the user clicks Enter.
A good workman is known by his tools.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: How to set default image button
Changing the display of an applet dynamically on a web application.
Setting an image Button to Default on a jsp page
Hidden button is shown in FireFox
How to implement 'Goto Home' button
problem with jquery post request
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014