using ajax and jquery to insert or update to database |
Hi again, I am really sorry to open a new topic for this question, i did read the existing ones but still did not understand what I should do.
So what I would like to ask your help for is in how do I go about setting ajax requests on a site using codeigniter, is there a good way or better way...like should i not use jquery for example. This is what i have done, but in the end it does not work. And I have confirmed jquery is working, also controller path is correct as well. this code is in the view: PHP Code: <script src="<?php echo VEN_ASSETS; ?>js/jquery.min.js"></script> and this is the simple method inside the controller to give me feedback if it is working or not: PHP Code: public function insert() Thank you for your time and any advice you can give is more than welcome. |
Messages In This Thread |
using ajax and jquery to insert or update to database - by joseCarlos - 04-25-2020, 02:44 AM
RE: using ajax and jquery to insert or update to database - by Leo - 04-25-2020, 04:17 AM
RE: using ajax and jquery to insert or update to database - by joseCarlos - 04-28-2020, 12:23 PM
RE: using ajax and jquery to insert or update to database - by Leo - 04-28-2020, 03:22 PM
|