JavaScript: Programmatically Click the Form Submit Button
// by using the 'click()' method
1 2 submitTags : function() 3 { 4 var btnSubmitTags = document.getElementById( TagsHelperConfig.FORM_TAGS_ENTRY_SUBMIT_BUTTON_ID ); 5 6 // Programmatically click the submit button 7 btnSubmitTags.click(); 8 }