submit form programmatically javascript code example
Example 1: form submit programmatically
if (typeof document.getElementById('ss-form').submit === "object") {
document.getElementById('ss-form').submit.remove();
}
document.getElementById('ss-form').submit();
Example 2: javascript submit form
document.forms["myform"].submit();