Welcome Guest, Not a member yet? Register   Sign In
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




Theme © iAndrew 2016 - Forum software by © MyBB