Hello, I have a form in which I have set up a preview page that appears in a new window in which the user can browse their content. I have that working fine however my regular submit button now directs to this preview pop up page which i certainly don't want to happen.
Code:<head> <script> function cForm(form) win=window.open('','myWin','toolbars=0'); form.target='myWin'; form.action='prev_event.php' } </script> </head>Any suggestions anybody.Code:<INPUT type="submit" name="action" value="Publish Article"> <input name="buttonB" type="submit" value="Preview" onclick="cForm(this.form)">
Thanks



Reply With Quote


Bookmarks