I have two save buttons on the form. One is save and reload
, the other one is save and stay on the page
.
When the user clicks save and stay on the page I want it to save and not to refresh the page.
var form = $("#frmSaveAction");
I am currently using this to submit.
form.submit()