how to submit text in js code example
Example 1: javascript submit form
document.getElementById("myForm").submit();
Example 2: javascript submit form
document.forms["myform"].submit();
document.getElementById("myForm").submit();
document.forms["myform"].submit();