Skip to content

Metabolomics Fiehn Lab

Sections
Personal tools
You are here: Home » Members » Martin Scholz » Development » Util » Submit a form while opening a secondary window

Submit a form while opening a secondary window

Document Actions

<form action="foo.html" name="myform">
    <a     href="bla.html"
        target="second"
        onclick="
            window.open(this.href,this.target,'width=400,height=500,resizable=yes,scrollbars=yes,menubar=no,status=no');
            document.myform.submit();
            return true; "
        >
        LINK
    </a>
    <input type="text" value="test" name="nana"/>
</form>

Created by zwluxx
Last modified 2007-10-24 04:05 PM
 

Powered by Plone

This site conforms to the following standards: