Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #24270
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2014-05-19 16:42 -0700 |
| References | <149e228b-45da-4203-a4b9-6a01b089f257@googlegroups.com> |
| Message-ID | <3baa58a0-d855-44c7-bb41-065ad6ea2f8e@googlegroups.com> (permalink) |
| Subject | Re: Why checkbox field is not detected when the form is submitted? |
| From | dhtml <dhtmlkitchen@gmail.com> |
On Monday, May 19, 2014 12:41:28 PM UTC-7, justaguy wrote: > The following fiddle js code for ON and OFF switch is very cool, however, the checkbox field is not included the FORM when it is submited, how come? > Who wrote this code? Try using a checkbox without any CSS. And see what happens. Then, add CSS. I'm NOT going to answer this question for you. > > Please note, I've added name and value attributes to this checkbox. When the form is submitted and when checkbox is set to OFF then the field and its value shows up in the FORM submission, hmm... > And that is exactly what the code is asking for. > > http://jsfiddle.net/boweruk/DMfvx/7/ > > > > > > Thanks in advance. That's neat. But the appearance property was removed from CSS3. http://www.w3.org/wiki/User:Tantekelik/CR-css3-ui-20040511-appearance Whether or not the form is successful wasn't determined in the abandoned property.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Why checkbox field is not detected when the form is submitted? justaguy <lichunshen84@gmail.com> - 2014-05-19 12:41 -0700
Re: Why checkbox field is not detected when the form is submitted? justaguy <lichunshen84@gmail.com> - 2014-05-19 13:01 -0700
Re: Why checkbox field is not detected when the form is submitted? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-05-19 23:55 +0200
Re: Why checkbox field is not detected when the form is submitted? dhtml <dhtmlkitchen@gmail.com> - 2014-05-19 16:42 -0700
Re: Why checkbox field is not detected when the form is submitted? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-05-20 07:56 +0300
Re: Why checkbox field is not detected when the form is submitted? Denis McMahon <denismfmcmahon@gmail.com> - 2014-05-20 10:19 +0000
csiph-web