Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!storethat.news.telefonica.de!feedme.news.telefonica.de!telefonica.de!newsfeeder.ewetel.de!eweka.nl!lightspeed.eweka.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <2938683.YFjOM7lns4@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Thu, 21 Feb 2013 20:57:07 +0100 User-Agent: KNode/4.8.5 Content-Transfer-Encoding: 7Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. MIME-Version: 1.0 Lines: 22 NNTP-Posting-Date: 21 Feb 2013 20:57:07 CET NNTP-Posting-Host: 016a672e.newsspool1.arcor-online.net X-Trace: DXC=lm_S>B=BX_og`45cDR8l?oic==]BZ:afn4Fo<]lROoRankgeX?EC@@`KPeR?^YhTLgDZm8W4\YJNlb@mF9jNikdee8nA28^e?>b^b2_oOOi>To X-Complaints-To: usenet-abuse@arcor.de Xref: csiph.com comp.lang.javascript:18585 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.