[eluser]Unknown[/eluser]
I am building a form and i want to use calendar.js javascript. There is some prelim work required to enable JS in CI.
So far I have:
Set the path in config.php : $config['javascript_path']= "javascript/";
added a load statement in the controller : $this->javascripts->add('Calendar.js');
My problem is the view. I need to extract the calendar script but am not
sure what to use.
I tried to use a FOREACH loop but is not working.
There must be someone who has set this up. Do I need to use a helper file.