Several button "Submit"

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

Received on Wednesday, 2 May 2007 16:58:07 UTC