Where to include jquey and css file in codeigniter. - 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: Where to include jquey and css file in codeigniter. (/showthread.php?tid=52917) |
Where to include jquey and css file in codeigniter. - El Forum - 07-02-2012 [eluser]Kiran cet[/eluser] Hai friends... I am new to codeigniter. Now i want to include jquery.js file in my view page. How can i do that ? which is the best approach ? Where should i put my jquery.js file ? please help me Thanks. Where to include jquey and css file in codeigniter. - El Forum - 07-02-2012 [eluser]CroNiX[/eluser] Anywhere that is publicly accessible, which would NOT be within the /application or /system folders. Code: -public_html/ Code: <img src="<?php echo base_url('assets/img/my_img.jpg'); ?>" alt="" /> Code: <img src="http://yoursite.com/assets/img/my_img.jpg" alt="" /> |