![]() |
result from autocomplete with ajax jquery json is not exactly - 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: result from autocomplete with ajax jquery json is not exactly (/showthread.php?tid=53269) |
result from autocomplete with ajax jquery json is not exactly - El Forum - 07-17-2012 [eluser]misakitran[/eluser] I use autocomplete jquery-ui. Results responsed but not exactly. Code: //-------------------- JS Code: //-------------------- Controller Code: //-------------------- Model In my table, i have code list : S0001, S0002, A0001, A0002 But, when i press key in code field, all are been showed. Please help me this error ! Thanks ! result from autocomplete with ajax jquery json is not exactly - El Forum - 07-18-2012 [eluser]john_j[/eluser] in your model, after this line $query = $this->db->get(); add this new line which is echo $this->db->last_query(); exit; and run the code. This will display the sql. Run this sql on your database and decide if the sql query that you are using is correct. result from autocomplete with ajax jquery json is not exactly - El Forum - 07-26-2012 [eluser]misakitran[/eluser] thanks ! i find my error ! thanks for your help ! |