Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #15489
| From | emf <emfril@gmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: radio buttons with. checkbox |
| Date | 2012-08-22 02:20 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <k11ti2$9pn$1@speranza.aioe.org> (permalink) |
| References | <k0o75t$iac$1@speranza.aioe.org> <2760364.jIkiNM8doB@PointedEars.de> <k0tacn$l8s$1@speranza.aioe.org> <2066056.VtcmPVeGr1@PointedEars.de> |
On 2012-08-20 10:25 Thomas 'PointedEars' Lahn wrote: > emf wrote: > >> On 2012-08-18 13:18 Thomas 'PointedEars' Lahn wrote: > >> And instead of >> <input type="reset"...> I now use >> >> <input type="button" ... onclick="clearValues()> > > Another bad idea. You can keep the reset button (if you must) *and* use an > event-handler attribute on it. However, according to the W3schools.com http://www.w3schools.com/tags/att_input_type.asp Attribute Values Value Description button Defines a clickable button (mostly used with a JavaScript to activate a script) reset Defines a reset button. A reset button resets all form fields to their initial values The description of button makes explicit reference to javascript. The reset button is used to reset all form fields. It doesn't seem logical to me to use the reset and then go on to annul its html effects by specifying what will happen with onclick. Anyway, the issue is an academic one; as long as one includes an onclick, it doesn't make any difference whether the type is button or reset. emf -- Spherical Triangle Calculator https://files.nyu.edu/emf202/public/js/spherical.html
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-18 10:03 -0400
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-18 17:36 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-19 09:30 -0400
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-19 12:11 -0400
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-20 14:00 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-20 09:05 -0400
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-20 16:11 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-21 05:25 -0400
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-21 14:36 +0200
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-22 12:24 +0200
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-20 12:13 +0200
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-20 16:27 +0200
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-20 21:58 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-21 10:58 -0400
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-22 10:41 +0200
Re: radio buttons with. checkbox "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-08-22 10:14 +0000
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-22 14:31 +0200
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-18 19:18 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-20 08:29 -0400
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-20 16:25 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-21 06:06 -0400
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-21 14:33 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-21 10:51 -0400
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-22 11:42 +0200
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-22 14:27 +0200
Re: radio buttons with. checkbox Dr J R Stockton <reply1234@merlyn.demon.co.uk.invalid> - 2012-08-22 20:24 +0100
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-23 11:06 +0200
Re: radio buttons with. checkbox Dr J R Stockton <reply1234@merlyn.demon.co.uk.invalid> - 2012-08-25 17:01 +0100
Re: radio buttons with. checkbox Dr J R Stockton <reply1234@merlyn.demon.co.uk.invalid> - 2012-08-22 19:58 +0100
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-22 02:20 -0400
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-22 10:44 +0200
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-22 14:40 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-26 00:16 -0400
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-09-03 07:19 -0400
Re: radio buttons with. checkbox David Mark <dmark.cinsoft@gmail.com> - 2012-09-03 21:02 -0700
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-09-04 13:44 +0200
Re: radio buttons with. checkbox David Mark <dmark.cinsoft@gmail.com> - 2012-09-04 06:00 -0700
csiph-web