[html5] Multiple Tabs

Simon Pieters simonp at opera.com
Wed Apr 2 06:26:09 PDT 2014


On Tue, 01 Apr 2014 09:44:10 +0200, Doug Hardie <bc979 at lafn.org> wrote:

> I have a window with a submit button.  Is there any way to make the  
> submit button run one program in a new tab and another in the original  
> tab?  Basically when the user fills out a form and submits it, I need to  
> give them a formatted copy of the form in the new tab while giving them  
> a new form to complete in the original tab.

If I understand correctly what you want, you can do something like this:

<form target="_blank" action="formatted-copy" onsubmit="createNewForm();">
  ...
</form>

-- 
Simon Pieters
Opera Software



More information about the Help mailing list