Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #30844
| Path | csiph.com!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: How fetch data from form for javascript screening |
| Date | Tue, 12 Jul 2016 11:38:26 +0200 |
| Organization | PointedEars Software (PES) |
| Lines | 83 |
| Message-ID | <7944450.CDJkKcVGEf@PointedEars.de> (permalink) |
| References | <ti0hz.37337$Z95.7322@fx29.iad> |
| Reply-To | Thomas 'PointedEars' Lahn <cljs@PointedEars.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | 8Bit |
| X-Trace | solani.org 1468316307 29690 eJwFwYEBgDAIA7CXFGhh52AZ/59gAudLZRAMLPZ8EkuGgcDpsQpr40N4wZEjRt317NuH9wccmxEU (12 Jul 2016 09:38:27 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Tue, 12 Jul 2016 09:38:27 +0000 (UTC) |
| User-Agent | KNode/4.14.2 |
| X-User-ID | eJwNyskRwDAIBLCWzLUM5QDO9l9C/JbCINh0BDwYNLSuXqzqCYhx6Vb3bKFbyTUdnCRnfB5KzxeytypHX/0BYkYWcQ== |
| Cancel-Lock | sha1:6sds/GTp+hDf+53IJH3y6jNE0jo= |
| X-NNTP-Posting-Host | eJwNxcEBwCAIA8CVQCHIOAXJ/iPY+5xvKDoMDnM6o/4y7jdZZI3CDHNzMyekdYNHep0KLVnTDzDTEaI= |
| Xref | csiph.com comp.lang.javascript:30844 |
Show key headers only | View raw
Robert Baer wrote:
> What i have..(comments 'mobile' and '686' are correct)..help?
<http://catb.org/esr/faqs/smart-questions.html>
> <script type="text/javascript">
> // ** Screening code to use follows
“Screening”?
> document.writeln("First check addressing.. ");
>
> var subjptr=7;
>
> tstE= EBody[subjptr];
1. Assignment to undeclared identifier.
2. “EBody” should probably be “eBody”.
> document.writeln("EBody[7]="+tstE+", "); // mobile
document.writeln("EBody[" + subjptr + "]=" + tstE + ", "); // mobile
would be wiser. However, see the FAQ on debugging.
> gott= Email.indexOf(tstE);
Assignment to undeclared identifier.
> document.writeln("Email.indexOf('mobile')="+gott+"<BR><BR>"); // 686
>
> // ** Note: The getElementsByClassName() method is not supported in
> // Internet Explorer 8 and earlier versions.
>
> </SCRIPT>
>
>
> <form name="dataholder" action="">
How can the user submit that form without script support?
> <div class="form-group">
> <label>Your Name <span style="color:#F00">*</span></label>
Use stylesheet rules, avoid style attributes.
> <input type="text" class="form-control" name="QN" id="#" >
Invalid ID except in HTML5. <http://validator.w3.org/>
> […]
> <!-- The browser must use the tpe for crude checkfor te @ sign -->
I beg your pardon?
> <input type="email" class="form-control" name="QE" id="#" >
Invalid, duplicate ID.
> […]
> <input type="text" class="form-control" name="QS" id="#" >
Invalid, duplicate ID.
> <script type="text/javascript">
>
> // do not know what to do to get those variables
That is not a question.
> // following gives undefined
> // Qmsg=document.getElementsByName("form-control").innerHTML ;
> // document.writeln(Qmsg+"|<BR>");
getElement*s*ByName
--
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-11 22:41 -0800
Re: How fetch data from form for javascript screening Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-12 11:38 +0200
Re: How fetch data from form for javascript screening "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-07-12 11:50 +0200
Re: How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-12 13:50 -0800
Re: How fetch data from form for javascript screening "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-07-13 00:09 +0200
Re: How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-12 17:27 -0800
Re: How fetch data from form for javascript screening Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-13 01:15 +0200
Re: How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-12 18:53 -0800
Re: How fetch data from form for javascript screening Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-13 18:03 +0200
Re: How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-14 00:16 -0800
Re: How fetch data from form for javascript screening Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-14 23:40 +0200
Re: How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-12 13:40 -0800
Re: How fetch data from form for javascript screening Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-13 01:09 +0200
Re: How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-12 17:51 -0800
Re: How fetch data from form for javascript screening Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-14 01:07 +0200
Re: How fetch data from form for javascript screening "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-07-13 14:30 +0200
Re: How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-13 23:56 -0800
Re: How fetch data from form for javascript screening Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-15 11:32 +0200
csiph-web