Answers for "make form submit on new tab using jquery"

0

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>
Posted by: Guest on September-28-2021

Code answers related to "make form submit on new tab using jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language