summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Hedgcock <chad.bannister.hedgcock@gmail.com>2012-04-26 04:29:52 +0200
committerChad Hedgcock <chad.bannister.hedgcock@gmail.com>2012-04-26 04:29:52 +0200
commita28812aed2aa56d4e8e69ac3560ad33aa4b82f38 (patch)
treee083554a66bb2b43b2f7138001e1fc9b5806baf5
parentf8ae11598ba058ee02cc4f8c82dbab3420756aae (diff)
Corrected path to jquery
-rw-r--r--user_guide_src/source/libraries/javascript.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/libraries/javascript.rst b/user_guide_src/source/libraries/javascript.rst
index 5e80fb998..d5e09c314 100644
--- a/user_guide_src/source/libraries/javascript.rst
+++ b/user_guide_src/source/libraries/javascript.rst
@@ -86,14 +86,14 @@ The jQuery Class
To initialize the jQuery class manually in your controller constructor,
use the $this->load->library function::
- $this->load->library('jquery');
+ $this->load->library('javascript/jquery');
You may send an optional parameter to determine whether or not a script
tag for the main jQuery file will be automatically included when loading
the library. It will be created by default. To prevent this, load the
library as follows::
- $this->load->library('jquery', FALSE);
+ $this->load->library('javascript/jquery', FALSE);
Once loaded, the jQuery library object will be available using:
$this->jquery