Welcome Guest, Not a member yet? Register   Sign In
AJAX / Post / delete record not working
#12

(06-23-2022, 08:00 PM)spreaderman Wrote:
(06-23-2022, 11:14 AM)Gary Wrote: Without having looked at all the detail you've pasted, I've had some similar sounding problems with my ajax crud since I've upgraded from 4.1.8 to 4.2.1...  perhaps some of the problem has to do with what's mentioned here:  https://forum.codeigniter.com/showthread...#pid397607 (?)

Appreciate the comment.  Actually, I have not updated yet.  Don't see anything that would impact me.

@kenjis I noticed you provided a link for associative arrays with form use. Why? I thought I am sending a javascript object data: {'id' : id}. Also, I am not using a form. I am get the record id but clicking on the respective row with let id = $(event.currentTarget).attr('data-id'); In the payload/network tab in chrome, I log console.log(data); and I see id=103. Is that what I should expect?
Reply


Messages In This Thread
RE: AJAX / Post / delete record not working - by spreaderman - 06-24-2022, 10:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB