Ajax Request - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Ajax Request (/showthread.php?tid=11075) |
Ajax Request - El Forum - 08-25-2008 [eluser]Nutan Lade[/eluser] Code: function submitMovie(){ How can I get the parameters values on the server side. Ajax Request - El Forum - 08-25-2008 [eluser]Pascal Kriete[/eluser] They'll be in the $_POST array, so you have two options: Code: // Conventional PHP Ajax Request - El Forum - 08-25-2008 [eluser]Nutan Lade[/eluser] Code: function submitMovie(movieId){ but the server is not returing anything Ajax Request - El Forum - 08-25-2008 [eluser]Pascal Kriete[/eluser] Nothing at all? What happens if you go to the url manually? Ajax Request - El Forum - 08-25-2008 [eluser]uptime[/eluser] I don't know what's the issue but have you tried to use Firebug to make sure the servers gets the right URI / vars? Ajax Request - El Forum - 08-26-2008 [eluser]Nutan Lade[/eluser] When I am trying the url manually I am getting the addMovie Ajax Request - El Forum - 08-26-2008 [eluser]mdowns[/eluser] As uptime suggested, check the uri used in the Ajax call. Ajax Request - El Forum - 08-26-2008 [eluser]Nutan Lade[/eluser] I want to submit values to server.Is that any other ajax method to do that. Ajax Request - El Forum - 08-26-2008 [eluser]uptime[/eluser] [quote author="Nutan Lade" date="1219780348"]I want to submit values to server.Is that any other ajax method to do that.[/quote] Are you using an AJAX library? Or is it plain JS? Ajax Request - El Forum - 08-26-2008 [eluser]Nutan Lade[/eluser] I am using Ajax library. |