Reply to PHP, iFrames and JavaScript

Your name:

Reply:


Posted by MrsB on 03/01/06 07:07

I am using PHP to code a form that sends an email with certain
information included in the email. This form resides in an iFrame and I
want to use Javascript to call a function based on the form.

I can get the variables to pass from the iFrame to the script that
generates a response page only if I do not use Javascript.

Why do I want to use JavaScript?- SO I can dictate the size and
position of the response page.

Any ideas?

partial script:
<SCRIPT LANGUAGE="JavaScript">

function popUp() {
props=window.open('thankyou2.php', 'poppage', 'toolbars=0,
scrollbars=1, location=0, statusbars=0, menubars=0, resizable=0,
width=600, height=400, left = 100, top = 50');
}

</script>
BLah Blah BLah

<?php
echo "<form name=form1 id=form1 method=get action=javascript:popUp();>
etc.........
?>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация