javascriptのみの送信を使用する本当に正当な理由がない限り、javascriptエラーが発生した場合にフォームを使用できないように設定するのはなぜですか?
送信タイプの標準フォーム入力を使用し、IDを指定し、必要に応じてjavascriptを介して送信の外観またはテキストを変更し、その機能の上にレイヤーとしてonclickおよびonsubmitイベントを作成し、falseを返します。より良いフォールバック。
なぜ一度に2つのフォームを送信しようとしているのかわかりませんが、この代替案についてはどうでしょうか(このコードはテストしていませんが、アイデアを伝える必要があります)。
<script type='text/javascript'>
$('#fallback-register-submit').hide(); // Hide the submit button.
$('#registration-link').show().click(function (){ // Show the link and attach the action.
$('#registerForm').submit();
return false; // Don't bother following the link anchor.
});
</script>
<form name="registerForm" id="registerForm" target="_blank" action="paypal_url" method="post""><!-- Single form that does all of the submitting. -->
...
...
<input type='submit' id='fallback-register-submit'>Register</input><!-- In the event of a javascript error for their browser, they can still buy your stuff! -->
<a id='registration-submit' style='display:none'>Go to paypal and send confirmation mail</a>
</form>