Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #30887
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Interesting form functionality difference |
| Date | 2016-07-17 20:31 +0200 |
| Organization | PointedEars Software (PES) |
| Message-ID | <2355525.mvXUDI8C0e@PointedEars.de> (permalink) |
| References | <5aIhz.240$9n.232@fx38.iad> <87twfsr18i.fsf@bsb.me.uk> <2767618.5fSG56mABF@PointedEars.de> <NdDiz.2077$5_7.1800@fx20.iad> |
Robert Baer wrote: > I made the suggested change and the form data gets posted. Since you are not quoting what you are referring to, I do not know what you mean by “suggested change”. Please read the FAQ on quoting. > However, the form does not get cleared (ever). > If online, the form in index-4.html does get cleared after a short > wait (which i assume is the transit time). The form is cleared if it is submitted classically, the server does not respond with status 204 “No Content”, and it does not respond with a filled- in form, in a time span so short that you cannot see the difference, either. It is also cleared if the script says it is to be cleared after its data is submitted non-classically, with XMLHttpRequest or (as Michael Haufe pointed out to me on Twitter), with the WHATWG Fetch API (currently experimental) [1], and there is no client-side script error before. Use debugging (again, see the FAQ) to find out what happens. “Does not work” is not a problem description. BTW, the English pronoun, “I”, is *always* written with a capital letter. _________ [1] <https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API> -- 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
Interesting form functionality difference Robert Baer <robertbaer@localnet.com> - 2016-07-14 00:36 -0800
Re: Interesting form functionality difference Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-14 10:57 +0100
Re: Interesting form functionality difference Robert Baer <robertbaer@localnet.com> - 2016-07-14 17:40 -0800
Re: Interesting form functionality difference Robert Baer <robertbaer@localnet.com> - 2016-07-14 18:03 -0800
Re: Interesting form functionality difference Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-15 08:27 +0200
Re: Interesting form functionality difference Robert Baer <robertbaer@localnet.com> - 2016-07-16 19:47 -0800
Re: Interesting form functionality difference Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-17 20:31 +0200
Re: Interesting form functionality difference Robert Baer <robertbaer@localnet.com> - 2016-07-19 20:27 -0800
Re: Interesting form functionality difference Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-24 18:40 +0200
csiph-web