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...
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (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)
No comments:
Post a Comment