javascript 関数から返された変数をフォームで送信する必要があります。
<form name="RegForm" method="post" action="/validate_accountinfo.php" onsubmit="send()">
</form>
function send()
{
var number = 5;
return number;
}
validate_accountinfo.php で、関数の値を返したいと思います。これを行う方法?