Topic: confirm submit (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: |
![]() Hi there, |
Paranoid (IV) Inmate From: Florida |
![]() Try using an input type="submit" with onclick, or an onsubmit in the form tag. |
Maniac (V) Mad Scientist with Finglongers From: Germany |
![]() yeah, you're not telling the link where to actually go... |
Lunatic (VI) Inmate From: under the bed |
![]() 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 |
![]() quote: That's the PHP motto. |
Obsessive-Compulsive (I) Inmate From: Israel |
![]() 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: |
![]() Edit TP: spam removed
|