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

[eluser]smilie[/eluser]
Hm, if it is .js file, I wouldn't know.

I also use (sort) of Ajax (RESTFull API), but my JS code is withing .php file, therefore I can do:

var somesession_data = "<?=$this->session->userdata('bla');?>";

But from .js file I wouldn't know...

Cheers,
Smilie


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