title: Binding ajax.Success and doc.Ready
body: <p>I have a function that needs to run after the page has loaded as well as on ajax events, as much of my site is loaded asynchronously via ajax using  c# /asp.net / mvc4 (which im still new very new to) Ajax.ActionLink and Partial View.</p>
  
  <p>Does anyone know how I can trigger this function on both events? I currently am having to duplicate the function twice, once on ajax.success and then again on doc.ready</p>
  
  <p>Thanks,</p>
  
  <p>Mark</p>