jQuery AJAX autocomplete with CodeIgniter |
[eluser]naren_nag[/eluser]
[quote author="ndovado.com" date="1239242438"]@nag thank you for the fast reply! As you can see on my previous post: I have been tried with the correct version: $(”#fromLocation”).autocomplete( “/index.php/newTrip/retiveCity”, { minChars:3, matchSubset:1, matchContains:1, cacheLength:10, selectOnly:1 }); I have a controller called nreTrip and a function retriveCity. But when it does not work cause whene I digit something into #fromLocation the ajax call try to access the wrong url http://localhost:8888/index.php/newTrip/retiveCity/[/quote] Dude, if you want access a controller called nreTrip ... why are you putting newTrip as the controller in the autocomplete function call? |
Welcome Guest, Not a member yet? Register Sign In |