skip to main
|
skip to sidebar
Notes to self
Thursday, 24 June 2010
Easy form reset confirmation snippet
Just add
onclick="return window.confirm('Clear the form?')"
to the reset button.
e.g.
<input type="reset" onclick="return window.confirm('Clear the form?')" />
gives this...
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
About Me
Unknown
View my complete profile
Superuser
Blog Archive
►
2008
(2)
►
May
(1)
►
July
(1)
▼
2010
(3)
▼
June
(1)
Easy form reset confirmation snippet
►
August
(1)
►
September
(1)