form submit programmatically

JavaScript
if (typeof document.getElementById('ss-form').submit === "object") {
    document.getElementById('ss-form').submit.remove();
}
document.getElementById('ss-form').submit();
Source

Also in JavaScript: