title: Issue On Getting jQuery Post Result
body: <p>I am trying to run this simple Ajax Post example like:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"&gt;
  &lt;/script&gt;
  &lt;script&gt;
    $(document).ready(function(){
      $("button").click(function(){
        $.post("test.php",
          {
            name:"Hello Ajax"
          },
          function(data){
            $("p").html(data);
          }
        );
      });
    });
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;p&gt;&lt;/p&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and PHP (test.php) as:</p>
  
  <pre><code>&lt;?php
  $name = $_POST['name'];
  echo '&lt;a&gt;'.$name.'&lt;/a&gt;';
  ?&gt;
  </code></pre>
  
  <p>No error message but not getting any result back! can you please let me know what I am doing wrong?</p>