Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

make form submit on new tab using jquery

<form target="_blank">
    <a href="#">Submit</a>
</form>

<script>
    $('a').click(function () {
        // do something you want ...

        $('form').submit();
    });
</script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #form #submit #tab #jquery
ADD COMMENT
Topic
Name
3+9 =