|
Posted by Jukka K. Korpela on 08/09/06 14:23
goliathuy <mario.albornoz@gmail.com> scripsit:
> Maybe you can use a confirm like:
> <input type="reset" name="reset" value="Reset"
> onClick="if(!confirm('REALY CLEAR THE FORM???'))return
> false;"
You didn't read comprehensively the message you are responding to, did you?
Comprehensive quoting is so often a symptom of lack of comprehensive
reading.
A scripted "confirm" does not help against the side effects of a reset
button (e.g., hitting Esc in an input field may erase all data in the form)
and does not help at all when scripting is disabled. Besides, people are
used to all kinds of annoying popups and will routinely hit Enter to
confirm. That's misguided, but so is the inclusion of a destruction button.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|