HTML Helper - function for adding JavaScript files |
[eluser]Lykos22[/eluser]
Hi folks! You may have noticed that CodeIgniter does not have on HTML Helpers a function that generates <sckript> tags, something quite similar as link_tag() does with <link /> tags which used for css, so I decided to create my own function. Follow the steps for extending helpers and create a file inside ./application/helpers and save it as MY_html_helper.php (so it will be ./application/helpers/MY_html_helper.php). |
Messages In This Thread |
HTML Helper - function for adding JavaScript files - by El Forum - 06-17-2014, 04:05 AM
HTML Helper - function for adding JavaScript files - by El Forum - 07-20-2014, 03:12 AM
HTML Helper - function for adding JavaScript files - by El Forum - 07-23-2014, 11:37 AM
HTML Helper - function for adding JavaScript files - by El Forum - 07-23-2014, 11:11 PM
HTML Helper - function for adding JavaScript files - by El Forum - 08-11-2014, 06:06 AM
HTML Helper - function for adding JavaScript files - by El Forum - 08-11-2014, 10:32 AM
HTML Helper - function for adding JavaScript files - by El Forum - 08-17-2014, 03:36 PM
HTML Helper - function for adding JavaScript files - by El Forum - 08-17-2014, 04:11 PM
HTML Helper - function for adding JavaScript files - by El Forum - 08-18-2014, 05:17 AM
|