I have an ASP.Net MVC Ajax.BeginForm that submits and updates my page properly when I click the submit button.
The problem is I need additional events to do the sa
Microsoft will probably break us, but:
function SubmitMvcAjaxForm(formName) { eval('var event = new Object(); event.type="keypress"; ' + document.forms[formName].attributes["onsubmit"].value.replace('(this,', '(document.forms["' + formName + '"],')); }