Topic: confirm submit |
|
---|---|
Author | Thread |
Obsessive-Compulsive (I) Inmate From: |
posted 06-26-2009 15:01
Hi there, |
Paranoid (IV) Inmate From: Florida |
posted 06-26-2009 15:17
Try using an input type="submit" with onclick, or an onsubmit in the form tag. |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 06-26-2009 15:55
yeah, you're not telling the link where to actually go... |
Lunatic (VI) Inmate From: under the bed |
posted 06-27-2009 05:47
On a completely unrelated note: why on earth would you wrap your HTML in PHP tags and echo it? What a pain in the ass escaping all those quotes for no reason... |
Paranoid (IV) Inmate From: Florida |
posted 06-27-2009 18:08
quote: That's the PHP motto. |
Obsessive-Compulsive (I) Inmate From: Israel |
posted 09-08-2009 13:37
don't forget that the enter key when focusing on form component is identical to pressing a submit button therefore you can choose from the following: code: <form onsubmit="return confirm('Are you sure?')"> ... <input type="submit"> </form> |
Nervous Wreck (II) Inmate From: |
posted 05-31-2011 11:04
Edit TP: spam removed
|