title: ajax data echo is showing html code
body: <p>I am using jQuery AJAX to call a parameterised function on dynamic button click. 
  Script and function is working fine. only problem is, it is showing all the HTML code into alert box. right from  to all my dynamic HTML table. I don't need to show HTML code, only need to show successfull messages. Please someone help me.
  Thanks</p>
  
  <p>PHP Code</p>
  
  <pre><code>echo "&lt;td&gt;&lt;input type='button' name='disable' value='Disable' onClick='disable($id);'/&gt;&lt;/td&gt;";
  </code></pre>
  
  <p>AJAX Code: </p>
  
  <pre><code>function disable(id) { 
      jQuery.ajax({   type: 'Post', 
                      url: '', 
                      data: {action: 'delete', ID: id} 
      })
      .done(function(data) { 
          alert("Data Saved: " + data); 
          location.reload();
      }); 
  }
  </code></pre>