title: How can I send post data with ajax in jquery when loading page?
body: <p>When loading a page, I need to send with the post method information to show just the same time the information received
  I have this as an example in jQuery:</p>
  
  <pre><code>$(document).ready(function(){
      $.ajax({
        type: "POST",
        url: url,
        data: data,
        success: success,
        dataType: dataType
      });
  });
  </code></pre>