Welcome Guest, Not a member yet? Register   Sign In
JQuery post parameters do not get to my controller
#9

(This post was last modified: 04-11-2015, 10:12 AM by CroNiX.)

You're mixing a query string (get) with post. Not sure if that will work but seems odd. How do you know it doesn't reach the controller. You don't do anything in the success event of the ajax call, like display what is returned. It just goes into a black hole.

Just for giggles, try:
PHP Code:
$.post(
  
"http://localhost/index.php/user_filters/test"//url to call
  
name"aa" }, //POST data to send
  
function(data) { //callback to output data received back from controller
    
alert(data); //just alert it to see if it worked
  
}
); 
Reply


Messages In This Thread
RE: JQuery post parameters do not get to my controller - by CroNiX - 04-11-2015, 10:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB