|
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.........
?>
Navigation:
[Reply to this message]
|