Welcome Guest, Not a member yet? Register   Sign In
using jquery ajax in codeigniter ?

I want to use jquery's (.load) function in CI, should i place this jquery function in controller, view or js files ? I would basically like to call another file in the views when user click the button

You can place it in the view or in a file, that's up to you.

If you use any $POST watch out for the CodeIgniter CSRF


Theme © iAndrew 2016 - Forum software by © MyBB