How to make Remote Function work in codeigniter framework? |
[eluser]jiahui[/eluser]
Actually I agree with your point. I guess is might the query string problem. But take a look the jquery.validate.js Code: remote: function(value, element, param) { There has nothing POST involved. And my controller site has already declared like this Code: function check_user_availability()
[eluser]garymardell[/eluser]
Code: remote: function(value, element, param) { The default type for the request is GET using jQuery so i added the line type: 'POST'.
[eluser]jiahui[/eluser]
I don't know how to express my feeling now.... I never know that default type is Get in jquery.js file. How stupid I am. Garymardell, you are my saviour indeed. Thank you x 1000,0000. My problem finally had solved.
[eluser]jiahui[/eluser]
Hi, I'm back here to ask a question. In case my Url is like this http://localhost/hoorfatt/index.php/accounts/edit/15 how can make the remote function return back to right path? |
Welcome Guest, Not a member yet? Register Sign In |