Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.glorb.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!fx27.iad.POSTED!not-for-mail From: Robert Baer User-Agent: Mozilla/5.0 (Windows NT 5.0; rv:12.0) Gecko/20120422 Firefox/12.0 SeaMonkey/2.9 MIME-Version: 1.0 Newsgroups: comp.lang.javascript Subject: Re: How fetch data from form for javascript screening References: <7944450.CDJkKcVGEf@PointedEars.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 26 Message-ID: X-Complaints-To: DMCA@thecubenet.com NNTP-Posting-Date: Tue, 12 Jul 2016 21:50:29 UTC Date: Tue, 12 Jul 2016 13:50:29 -0800 X-Received-Bytes: 1722 X-Received-Body-CRC: 3073291554 Xref: csiph.com comp.lang.javascript:30848 Evertjan. wrote: > Thomas 'PointedEars' Lahn wrote on 12 Jul 2016 in > comp.lang.javascript: > >>> > [..] >>> > [..] >>> // following gives undefined >>> // Qmsg=document.getElementsByName("form-control").innerHTML ; >>> // document.writeln(Qmsg+"|
"); >> >> getElement*s*ByName > > document.document.getElementsByClassName("form-control")[0].innerHTML > > Cannot use.; the getElementsByClassName() method is not supported in Internet Explorer 8 and earlier versions. Now, getElementByClassName() is not even mentioned as being valid, and so there is even less info if wonderful M$ HEXploder would work. I could just as easily make up something: fetchStuffByAnyNameOrId(); the only advantage would be that i would KNOW it would not work.