title: how to override the JQuery ajax call function?
body: <p>I have a JavaScript function with 4 parameter</p>
  
  <pre><code>function GetEmpDetails(EmpID, ApplicationID, ActionID, ApplicationSubID) 
  {  
    $.ajax({
      type: "POST",
      url: '/TransController/GetEmpInformation',
      data: { "EmpID": JSON.stringify(EmpID), "ApplicationID": ApplicationID, "ActionID": ActionID, "ApplicationSubID": ApplicationSubID },
      dataType: "json",
      beforeSend: function () {
      },
      success: function (data) {
          DisplayDetails(data);
      },
      error: function (result) {
      }
    });
  }
  </code></pre>
  
  <p>I want to override the same function with one different parameter. something as below</p>
  
  <pre><code>function GetEmpDetails(EmpID, ApplicationID, ActionID, DateOfJoining) 
  {  
    $.ajax({
      type: "POST",
      url: '/TransController/GetEmpInformation',
      data: { "EmpID": JSON.stringify(EmpID), "ApplicationID": ApplicationID, "ActionID": ActionID, "DateOfJoining": DateOfJoining},
      dataType: "json",
      beforeSend: function () {
      },
      success: function (data) {
          DisplayDetails(data);
      },
      error: function (result) {
      }
    });
  }
  </code></pre>
  
  <p>Someone please tell, Is it possible to do and how with some example code?</p>