You are here: Re: Form actions « HTML « IT news, forums, messages
Re: Form actions

Posted by richard on 09/21/06 04:09

"Tony WONG" <x34@hknet.com> wrote in message
news:eer2qh$fmh$1@nnews.pacific.net.hk...
> can i have 2 actions in a html form by 2 different submit buttons? Thanks
> a lot.
>
> tony

As is readily done on many sites for numerous reasons.
Each button has a name, and hence, each action within the script refers to
that name, defining what each button will do.
Much like defining how each division will behave on a webpage with an ID or
class name and corresponding styles.
You might have 3 buttons and each button performs a different search.
The real trick with multiple buttons, is what happens when the user presses
enter instead.

 

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

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