Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #18585
| Message-ID | <2938683.YFjOM7lns4@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2013-02-21 20:57 +0100 |
| Subject | Re: form in iframe |
| Newsgroups | comp.lang.javascript |
| References | <ufmdnd0ihvIW77jMnZ2dnUVZ_s2dnZ2d@westnet.com.au> <cYednQuIA-_d67jMnZ2dnUVZ_qydnZ2d@westnet.com.au> |
Andrew Poulos wrote: > On 21/02/2013 12:04 PM, Andrew Poulos wrote: >> I've been given some HTML which includes an iframe. Within the iframe >> there's a form. On onsubmit I do some validation of the form input. If >> it passes validation I return true. >> >> How do I get the source of the iframe to change (to a page that says >> that the form is now being acted on)? > > I've now put a hidden iframe on the page and used that as the target of > the form. When the form is successfully validated I hide the form and > show other content. A curious and certainly unwise approach. Why not simply submit to the same iframe? -- PointedEars Twitter: @PointedEars2 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
form in iframe Andrew Poulos <ap_prog@hotmail.com> - 2013-02-21 12:04 +1100
Re: form in iframe Andrew Poulos <ap_prog@hotmail.com> - 2013-02-21 12:19 +1100
Re: form in iframe SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2013-02-21 10:54 +0100
Re: form in iframe Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-02-21 20:57 +0100
Re: form in iframe Danny <dann90038@gmail.com> - 2013-02-21 15:32 -0800
csiph-web