Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #18579
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2013-02-20 06:54 -0800 |
| References | <b3164766-a485-4079-ab3d-07bdc566cdc4@googlegroups.com> <kg1u2d$c3m$1@dont-email.me> |
| Message-ID | <69baa44b-e47c-4a06-98bd-de57212dbb38@googlegroups.com> (permalink) |
| Subject | Re: form.ssubmit() nor submitting all the elements |
| From | cerr <ron.eggler@gmail.com> |
On Tuesday, February 19, 2013 11:31:18 PM UTC-8, Jukka K. Korpela wrote: > 2013-02-20 8:51, cerr wrote: > > > > > I havwe a form at http://www.quaaoutlodge.com/mobile/book.html but > > > upon hitting "Check nowww" for some reason not all the forms esp > > > 'name' and 'contact_num' are not submitted, why not I'm wondering.../ > > > > Those input elements lack the name="..." attribute. By HTML specs, only > > controls that have the name attribute can be "successful", i.e. > > contribute to the form data set. So change e.g. > > <input id="name" size="10"> > > to > > <input id="name" name="name" size="10"> > > > > Many people have misunderstood statements about the name attribute being > > deprecated. In HTML 4, it is deprecated for img and form elements. But > > not for controls like input, where it constitutes an essential part of > > functionality. > Yep, that was it. Thanks for your help, Yucca!
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
form.ssubmit() nor submitting all the elements cerr <ron.eggler@gmail.com> - 2013-02-19 22:51 -0800
Re: form.ssubmit() nor submitting all the elements "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-02-20 09:31 +0200
Re: form.ssubmit() nor submitting all the elements cerr <ron.eggler@gmail.com> - 2013-02-20 06:54 -0800
csiph-web