Path: csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.javascript Subject: Re: Serialise form with input of type image Date: Thu, 17 May 2018 13:24:30 +0200 Organization: solani.org Lines: 18 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1526556271 4003 eJwFwYEBwDAEBMCVKJ6MEy/2H6F3YVAwHQGPjWW414fVnlOZlhIMcnRs15vdsQXWEt3zJI9+qQKaz9yqKwuL+6SLfIh29Ik3cjfV3vsBufQffQ== (17 May 2018 11:24:31 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Thu, 17 May 2018 11:24:31 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 Cancel-Lock: sha1:EMtAGDl7YRO/UE3A2BS3hTJCxaQ= Content-Language: de-DE X-NNTP-Posting-Host: eJwNytEBRDEEBMCWLFmiHI/ov4S7+R6awzuO0w+Xq/Yx4s1xy/UytISQAp15nBs+9m6UohFtVS51jxL58OaWHJfWZRoj8c/IpoG1qf7BflXVHMs= X-User-ID: eJwNyMERwDAIA7CV6gDGjEPKsf8IrZ4KI/imM+ixsS1t5j2bkKqwNm7UAPi/7Q6fnkuXHWfFBxAFEFw= In-Reply-To: Xref: csiph.com comp.lang.javascript:35042 On 17.05.2018 at 07:37, Andrew Poulos wrote: > I have a form and some of the form elements are inputs of type image. > For example > > > > It picks up every input (text, button, checkbox, number, radio...) > except those of type image. Why does it seem to ignore inputs of type > image, and how do I get it to also include them? See . If you really need elements, you could replace `frm.elements` with `frm.getElementsByTagName("input")`, or such. -- Christoph M. Becker