ajax not working in codeigniter
- by user1800797
I'm trying to send a post request using the ajax jquery function and return some data into a window asynchronously. Here's what I have so far. It doesn't seem to be working.
in the view:
$.ajax({
url: '/dashboard/presskits/media/get_video_link/',
type: 'POST',
dataType: 'json',
data: { encoded_link :…