sirshurf@gmail.com wrote:[color=blue]
> Nop Not Working....
>
> My code is (for the reference...)
>
> On teh parent:
>
> function newwindow(url) {
>
>
> newwindow2=window.open('','CallMePopUp','status=no ,scrollbars=yes');
> var tmp = newwindow2.document;
> tmp.write('<html><head><title></title>');
> tmp.write('</head><body><form name="formName" method="post"
> action="calc.php">');
> tmp.write('<input type="hidden" name="prodh" value="bred">');
> tmp.write('</form>');
> tmp.write('</body></html>');
> tmp.close();[/color]
I think that will be a bit nicer as:
tmp.document.write(
'<html><head><title></title>'
+ '</head><body><form name="formName"'
+ 'method="post">action="calc.php">'
+ '<input type="hidden" name="prodh" value="bred">'
+ '</form>'
+ '</body></html>'
);
tmp.document.close();
[color=blue]
>
> tmp.formName.submit();
>[/color]
tmp.document.forms['formName'].submit();
[color=blue]
>
>
> }
>
> On the chiled:
>
> function exit ()
> {
> //opener.document.form['new_entry'].submit();[/color]
-----------------------------^
I take it you are aftert he *forms* collection?
opener.document.forms['new_entry'].submit();
[color=blue]
> self.opener.document.reload(true);
> close ();
> }
>
> The quoted is the one I used before...
>[/color]
Untested, but shoule be OK.
--
Rob