Welcome Guest, Not a member yet? Register   Sign In
Calling a CI library from a javascipt?
#1

[eluser]Ray Julich[/eluser]
I am adding an AJAX autocomplete to my CI site, which uses a javascript include. Inside the javascript, it includes a .php file.
Code:
this.ajaxTarget = 'Autocomplete.php';
I copied this javascript from a site on the web and adapted is to my needs. The problem I've run into is that to get the data I need in the Autocomplete.php file, I need access to CI session variables and to a CI library. Is there a way for a javascript to get access to those CI files?


Messages In This Thread
Calling a CI library from a javascipt? - by El Forum - 11-10-2010, 09:25 PM
Calling a CI library from a javascipt? - by El Forum - 11-11-2010, 01:44 AM
Calling a CI library from a javascipt? - by El Forum - 11-11-2010, 03:32 AM
Calling a CI library from a javascipt? - by El Forum - 11-11-2010, 04:27 AM
Calling a CI library from a javascipt? - by El Forum - 11-11-2010, 09:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB