title: Getting Codeigniter CSRF token without a form?
body: <p>I have CSRF protection enabled on my site, but the only time the CSRF token is placed in a hidden field is when <code>form_close()</code> is used. I am posting data via ajax and need to send the CSRF as well to prevent the 500 errors.</p>
  
  <p>I thought there was a way to explicitly embed the CSRF token into the page, but I can't seem to find it.</p>
  
  <p>How can I get the CSRF token when there isn't a form on the page?</p>