Welcome Guest, Not a member yet? Register   Sign In
How to check submit button
#1

[eluser]kurniawan joko purnomo[/eluser]
Hi My Name joko from indonesia.
I Have question about submit button.
Here the question.

I Have one form . Inside the form i have two submit button. First submit button name is "edit" and the second one is "delete".

How i can determine which people click ( edit or delete submit button ). Please help me.

Regards

Code:
<form method="post" name="article">
    <input type="hidden" name="id" value="2">
    <input type="submit" name="edit" value="edit">
    <input type="submit" name="delete" value="delete">
</form>


Messages In This Thread
How to check submit button - by El Forum - 07-29-2011, 08:51 PM
How to check submit button - by El Forum - 07-30-2011, 05:40 PM
How to check submit button - by El Forum - 07-30-2011, 10:14 PM
How to check submit button - by El Forum - 08-01-2011, 12:54 PM
How to check submit button - by El Forum - 08-01-2011, 01:01 PM
How to check submit button - by El Forum - 08-01-2011, 01:01 PM
How to check submit button - by El Forum - 08-01-2011, 09:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB