Welcome Guest, Not a member yet? Register   Sign In
javascript in codeigniter
#1

[eluser]meera[/eluser]
Hi,
How to use javascript in codeigniter.....?
#2

[eluser]cahva[/eluser]
Create a javascript file like you would normally do. Then in your view add it:
Code:
< script src="<?=base_url() ?>js/yourscript.js">[removed]
For inline js, just write the code as you would normally do to the view file.




Theme © iAndrew 2016 - Forum software by © MyBB