title: Overload jQuery.ajax() method to add additional token value to data parameter
body: <p>I have to pass an additional token value to the website so that I can validate the request.</p>
  
  <p>The function that adds the value is this: </p>
  
  <pre><code>AddPageTokenToAjaxRequest = function (data)
  {
      data.hfPageToken = $('#hfPageToken').val();
      return data;
  };
  </code></pre>
  
  <p>, and it would have to be used like this: </p>
  
  <pre><code>function asociate(id)
  {
  
  
      $.ajax({
          url: postbackURL, 
          type: 'POST',
          data: AddPageTokenToAjaxRequest( { id: id} ),
          success: function (result)
          {
              refresh();
          }
      });
  }
  </code></pre>
  
  <p>The thing is that I do not want to change the code in about 100 of these calls.
  Is there a way to override the data sending ajax call so that I do not have to make 100 changes?</p>