form id submit 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 a form with id
var form = document.getElementById("myAwsomeForm");
document.getElementById("your-link-or-button-id").addEventListener("click", function () {
form.submit();
});
document.getElementById('myAwsomeForm').submit();