Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #30854

Re: How fetch data from form for javascript screening

From Robert Baer <robertbaer@localnet.com>
Newsgroups comp.lang.javascript
Subject Re: How fetch data from form for javascript screening
References <ti0hz.37337$Z95.7322@fx29.iad> <7944450.CDJkKcVGEf@PointedEars.de> <XnsA64378799AF81eejj99@194.109.6.166> <FCdhz.1$pP1.0@fx27.iad> <19082016.EfDdHjke4D@PointedEars.de>
Message-ID <R2ihz.1$cN5.0@fx28.iad> (permalink)
Date 2016-07-12 18:53 -0800

Show all headers | View raw


Thomas 'PointedEars' Lahn wrote:
> Robert Baer wrote:
>
>> Evertjan. wrote:
>>>>>         <input type="text" class="form-control" name="QN" id="#">
>>> [..]
>>>>>         <input type="text" class="form-control" name="QS" id="#">
>>> [..]
>>>>> //  following gives undefined
>>>>> //    Qmsg=document.getElementsByName("form-control").innerHTML ;
>>>>> //    document.writeln(Qmsg+"|<BR>");
>>>> […]
>>> document.document.getElementsByClassName("form-control")[0].innerHTML
>>     Cannot use.; the getElementsByClassName() method is not supported in
>> Internet Explorer 8 and earlier versions.
>
> Do you need to support IE<= 8?
* IE7 would be nice,but it looks like i can safely ignore it, especially 
if it gives too many problems.
* except for implementing form validation code for the form, it appears 
that all of my new HTML5 pages behave from IE6 all the way up.
  Strangely, IE9 gave the most sass.
  Would you believe IE5 was almost better?

>
>>    Now, getElementByClassName() is not even mentioned as being valid,
>
> Where?  By whom/what?
>
>>    and so there is even less info if wonderful M$ HEXploder would work.
>
> Responsible Web developers *test* their code in the target environments.
>
>>     I could just as easily make up something: fetchStuffByAnyNameOrId();
>> the only advantage would be that i would KNOW it would not work.
>
> You are wasting precious time.  Have you read “How To Ask Questions The
> Smart Way”?  If no, read it, and act accordingly.  NOW.
* OK; WHERE can i find that?
   Sorry, i ASSuMEd that info was on this forum and/or server.
   Google, etc came to the rescue.
   Hours of reading, may not need to buy a book again..


>
   Thanks.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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