title: how i can send data post after load page in jquery
body: <p>How can I send post data after loading a page with jQuery?</p>
  
  <p>For example</p>
  
  <pre><code>    $( "#target" ).click(function() {
        $('#thetag').load(page.php, function(){
  
    $.ajax({
    type: "POST",
    url: "page.php",
    data: {data: "hi world"},
    success: function(result) {
       console.log('good');
        }
  });
      });
      });
  
  &lt;/div id="thetag"&gt;
  page.php
  
  &lt;?php echo $_POST['data'] ?&gt; ==== 'hi world'
  &lt;/div&gt;
  </code></pre>
  
  <p>I need to load the <code>page.php</code> file after the click on <code>#target</code> and, at the same time, send that data via ajax post; showing the post data in <code>#thetag</code></p>