title: How to send a post through javascript in CodeIgniter?
body: <p>I want to send a post form in Codeigniter when click a link:</p>
  
  <p>My html code:</p>
  
  <pre><code>&lt;a href="&lt;?php echo site_url('clientes/delete/'); ?&gt;" id="&lt;?php echo $id; ?&gt;"&gt;Delete&lt;/a&gt;
  </code></pre>
  
  <p>I want to do with post method because is more secure to do with csrf protection.</p>
  
  <p>Thanks</p>