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

[eluser]mehwish[/eluser]
hello please anyone guide i am working in php/codeigniter and i have to incliude a javascript file like i have a view (html file) and i have written inside head tags the following:

Code:
<sscript language="javascript" type="text/javascript" src="http://localhost/fyp/js.js">                  </sscript>

and i have placed a .js file in root directory where we can see application, system , userguide folders etc. but that .js is not working or am i missing something?


Messages In This Thread
how to include javascript file in codeigniter - by El Forum - 08-17-2011, 01:44 PM
how to include javascript file in codeigniter - by El Forum - 08-17-2011, 01:47 PM
how to include javascript file in codeigniter - by El Forum - 08-17-2011, 02:19 PM
how to include javascript file in codeigniter - by El Forum - 08-17-2011, 04:50 PM
how to include javascript file in codeigniter - by El Forum - 08-18-2011, 04:00 AM
how to include javascript file in codeigniter - by El Forum - 08-18-2011, 04:05 AM
how to include javascript file in codeigniter - by El Forum - 08-18-2011, 09:27 AM
how to include javascript file in codeigniter - by El Forum - 08-18-2011, 10:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB