Sometime, when submit a form, you wanna open a new popup window and show submit result there.
Here's the code that can do the work:
<form action="report.html"
where the form will be submitted to
target="report"
name of the popup window onsubmit="window.open('about:blank','report','width=300,height=200')">
open a new window that has the target window name and expected window size first.
It was tested in Firefox 3.0 Beta, IE 7, Opera
7 comments:
Thanks for the simple and short code
Works great. Thanks
Who knows where to download XRumer 5.0 Palladium?
Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!
Thanks for your code. You saved my life!
Hey thank u soo much
Thanks for your code..
It doesn't work in safari.. can u pls help me on this to work on safari ?
tanks!!
the best
Post a Comment