W3C home > Mailing lists > Public > public-html@w3.org > May 2007

Several button "Submit"

From: Dmitry Turin <html60@narod.ru>
Date: Wed, 2 May 2007 19:57:49 +0300
Message-ID: <11329000328.20070502195749@narod.ru>
To: public-html@w3.org

Now <submit> has inscription, equal to sending value
(equal to attribute "value").
Sometimes it's necessary, that inscription and sending value will be different.

Let's add one more attribute "text",
which will be displayed as inscription (if attribute is specified).

<input type=submit name=task value=copy   text=operation1>
<input type=submit name=task value=move   text=operation2>
<input type=submit name=task value=delete text=operation3>

Thus inscription "move" will be displayed on button,
and "operation2" will be send to server.
 

Dmitry Turin
http://html6.by.ru
http://sql4.by.ru
http://computer2.by.ru
Received on Wednesday, 2 May 2007 16:58:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:44 UTC