• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help loading the jquery class

#1
Hey Guys,

I have added the following to my constructor method.

PHP Code:
     function __construct(){

         
parent::__construct();

         
$this->load->library('javascript/jquery');
     } 

But when I view the page I get the following error message

Severity: Error

Message: Class 'CI_Javascript' not found

Filename: javascript/Jquery.php

Line Number: 49

Backtrace:

Can someone please help me resolve this ? Thanks!
Reply

#2
As I remember, javascript library was removed from CI3
Reply

#3
You should load jquery in your view and use it native. i personal see no benefit for a library that wraps jquery.

Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.