title: $.ajaxSetup for Ajax.BeginForm
body: <p>$.ajaxSetup is used for ajax call in jquery.
  This works perfectly fine if we use jquery ajax.</p>
  
  <p>But in MVC we use Ajax.BeginForm() .the callback handlers are OnFailure,OnSuccess,OnBegin.</p>
  
  <p>Is there a way we can use $.ajaxSetup for Ajax.BeginForm().</p>
  
  <p><strong>Update</strong> </p>
  
  <p>eg I have used Ajax.BeginForm() in 10 places but instead of writing OnFailure handler for all i just want to write a single common OnFailure in common place like jquery $.ajaxSetup.
  Is there a way of doing it?</p>