Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14114

Javascript deprecated

$
0
0
Probably some dumb questions from a noob, but I am attempting to use javascript and jquery.

1) Loading as a library in my one of my controller files,

$this->load->helper(array('url', 'html',));
$this->load->library('session');

works.

$this->load->library('jquery');

and other permutations like /javascript/jquery/  etc etc return Error Unable to Load but when I use the autoload.php function, as

$autoload['libraries'] = array('Javascript');

it works. Have I just not hit the right syntax or am I actually loading something I dont know about, or is my logging not telling me the right info?? (Actually, the logging says 'Javascript Class Initialized and loaded. Driver used: jquery.)

2) The CI User_Guide says javascript class is deprecated. Does this mean I am not supposed to use any java at all? Or is it the documentation is faulty and? I do not understand this.

Thanks for any help.

Viewing all articles
Browse latest Browse all 14114


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>