Tuesday, 6 August 2013

Two different actions on one button

Two different actions on one button

I have created a form in my view that calls some method in controller. I
want to do two things on my submit button function:
Use Ajax function to display output on the same page,
Get data (in the same method that is displaying the output) using
$this->input->post function

No comments:

Post a Comment