<li tabIndex=”-1″ title=”Recalculate” id=”_MBcrmFormSubmitCrmForm1truetruefalse”
onclick=”window.execScript(action)”
action=”crmForm.SubmitCrmForm(1, true, true, false);”>
So basically it calls SubmitCrmForm function.
SubmitCrmForm triggers the save event even if there are no modifications made on the form.
SubmitCRMForm( Mode, Validate, ForceSubmit, closeWindow) // we could use this function but it is unsupported
Different Mode could be -1,2,7,58,59
or alternatively we could use the below function
Save
Code: 1
Function: crmForm.Save();
SaveAndClose
Code: 2
Function: crmForm.SaveAndClose();
Send
Code: 7
Function: send();
SaveAsCompleted
Code: 58
Function: SaveAsCompleted();
SaveAndNew
Code: 59
Function: crmForm.SubmitCrmForm(59, true, true, false);
source from : http://nishantrana.wordpress.com/2009/07/08/recalculate-and-submitcrmform-javascript-function-in-crm/