Buttons how to retrieve "value"?

R

richard

<td class="ql"><input type="submit" Value="A"></input></td>

In the above example, a rough one, how exactly is the value of "A" passed
to another item?
I have a simple form with 4 buttons for choices. A B C D.
When user clicks "B", the response will read maybe something like
"you pressed B".
 
H

Harlan Messinger

richard said:
<td class="ql"><input type="submit" Value="A"></input></td>

In the above example, a rough one, how exactly is the value of "A" passed
to another item?
I have a simple form with 4 buttons for choices. A B C D.
When user clicks "B", the response will read maybe something like
"you pressed B".

You have to give the buttons a name, just like you would give any
control. Give them all the same name, with different values, and then
check the value that is returned for a control by the name in the page
to which the form is submitted.
 
R

richard

<td class="ql"><input type="submit" Value="A"></input></td>

In the above example, a rough one, how exactly is the value of "A" passed
to another item?
I have a simple form with 4 buttons for choices. A B C D.
When user clicks "B", the response will read maybe something like
"you pressed B".

done figured it all out thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,079
Messages
2,570,574
Members
47,205
Latest member
ElwoodDurh

Latest Threads

Top