Path: csiph.com!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: How fetch data from form for javascript screening Date: Wed, 13 Jul 2016 01:15:50 +0200 Organization: PointedEars Software (PES) Lines: 36 Message-ID: <19082016.EfDdHjke4D@PointedEars.de> References: <7944450.CDJkKcVGEf@PointedEars.de> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1468365352 24513 eJwFwYkBgDAIA8CVLCQpjiPf/iN4R9dRXYgCl1sBf8rhGsUdfbVMZB8Hq0yWUkZnp7/E2A8Z2xEx (12 Jul 2016 23:15:52 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Tue, 12 Jul 2016 23:15:52 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNy0kBwDAIBEBLoYEF5HD6l5DOf+SCUMoQsKwsWRpUnWA8Ne531xKKjolDlTZFKdw0Hv41WYfsWfT9q9QDWB4WDA== Cancel-Lock: sha1:seh75zZtmnDb5stVvHcUnXIXPyg= X-NNTP-Posting-Host: eJwFwYEBACAEBMCVIv41jsT+I3TnG4KiwWE+PmHU18x3tt1c1TQFPYEJB9hoU7klL9bgzAcXNxDq Xref: csiph.com comp.lang.javascript:30851 Robert Baer wrote: > Evertjan. wrote: >>>> >> [..] >>>> >> [..] >>>> // following gives undefined >>>> // Qmsg=document.getElementsByName("form-control").innerHTML ; >>>> // document.writeln(Qmsg+"|
"); >>> […] >> 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? > 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. -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.