passing extra parameters to autofills - 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: passing extra parameters to autofills (/showthread.php?tid=36280) |
passing extra parameters to autofills - El Forum - 11-27-2010 [eluser]bhakti.thakkar[/eluser] Hi all, I am using new Ajax.Autocompleter to create autofills in my page. there are two autofills and they are loading well but now i want to make relative. I want to pass value of the first autofill to the second. i tried accessing the value using $this->input->post but its not working Code in the view : Code: new Ajax.Autocompleter("HospitalRelation_ID", "autocomplete_HospitalRelation_ID", base_url+"patients/relation_ajaxsearch_hospital/HospitalRelation_ID/", {} ) ; Controller : Code: function Hospitalcontact_ajaxsearch($HospitalContact_ID) when i print the sql i see that the HospitalRelation_ID_Readonly_ID is not printed which means i am not able to pass HospitalRelation_ID_Readonly_ID to this function How can i do this? Thanks in advance |