![]() |
Jquery Autoloader Helper - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Jquery Autoloader Helper (/showthread.php?tid=45213) |
Jquery Autoloader Helper - El Forum - 09-13-2011 [eluser]Unknown[/eluser] I just started using codigniter I created a view helper which downloads updated version of jquery from google cdn and you can set the versions of jquery and jqueryui with this helper. Installation: [/b] Download the file and placed it into application helper folder. Load the helper Code: $this->load->helper('jquery'); In view file type Code: echo jquery(); Code: echo jqueryui(); Code: echo jquery('1.4'); For Jquery UI Code: echo jqueryui('1.8.1'); That's really |