Jquery post help - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Jquery post help (/showthread.php?tid=33294) Pages:
1
2
|
Jquery post help - El Forum - 08-22-2010 [eluser]Techno Heart[/eluser] Ya its empty string.But the same function i have used already in two places.there its working fine ..here am facing this issue...i echo the returned valued in my controller class.but its still returning empty string.you want to look at my model and controller classes ? Jquery post help - El Forum - 08-22-2010 [eluser]vitoco[/eluser] post it, there's a demo site that i could check ? Jquery post help - El Forum - 08-22-2010 [eluser]Techno Heart[/eluser] My controller function Code: function deletePost() My model function Code: function removePost($diss_id,$post_id,$parent) Sorry no demo site available. and one more doubt i have is.Is there any limit for using Jquery $.post in a single jquery file ? Jquery post help - El Forum - 08-23-2010 [eluser]vitoco[/eluser] i've added son lines Code: function deletePost() My model function Code: function removePost($diss_id,$post_id,$parent) see if the $.post it's getting a '-1' string as return ------------- Sorry no demo site available. and one more doubt i have is.Is there any limit for using Jquery $.post in a single jquery file ? there's no limit, cause it's a function, you can call it as many times as you want. Jquery post help - El Forum - 08-23-2010 [eluser]Techno Heart[/eluser] Ya i added those lines sir. The query executes actually but its returning empty string.same alert i am getting. Jquery post help - El Forum - 08-23-2010 [eluser]Techno Heart[/eluser] Is there any chance for the function to deviate to another function in case of usage of same variables in both functions. Jquery post help - El Forum - 08-24-2010 [eluser]InsiteFX[/eluser] There is a problem with ajax calls using sessions if you search the forms you should find the solution, not sure where it is. InsiteFX |