– Added author note: This assumes the latest version of CodeIgniter (2.0.2) but I assume this will work on any CI 2.x with CSRF. All the code edits are in the XAJAX to make it more compatible with CodeIgniter, so the only things to keep in mind for CodeIgniter is the following: – what is the name of my ci_csrf_token – how do i generate my csrf hash – how do i get an instance of CI If you can answer that for your version of CodeIgniter, you should be ok.