You are here: Re: Form Submit Button Question « PHP Programming Language « IT news, forums, messages
Re: Form Submit Button Question

Posted by David T. Ashley on 07/06/06 22:04

"Chuck Anderson" <websiteaddress@seemy.sig> wrote in message
news:xvmdnZvd3Zu1CDHZnZ2dnUVZ_tCdnZ2d@comcast.com...
>>
>> javascript will do it.
>>
>>
> To clarify that a bit more - do not put an action in the form tag. Use a
> Javascript Onclick event on each button to set form.action.

The recommended Javascript worked great.

Just one question ... my form buttons are "Change Password" and "Cancel", in
that order. When I hit ENTER on the computer keyboard, both IE and Mozilla
Firefox choose the "Change Password" button (I assume because it is the
first button in the form).

Is that the reason ENTER chooses one button (because it is first on the
form)?

Can this order or selection be modified?

Thanks.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация