Welcome Guest, Not a member yet? Register   Sign In
Loading external JS file
#1

[eluser]mzvasiq[/eluser]
I'm trying to load an external JS file in my Login view with the following code

Code:
script type="text/javascript" src="<?php echo base_url();?>javascript/adminScripts.js"

The javascript folder is inside the 'application' folder. I don't know what is the problem because i searched on Google and everyone uses this same code to include external files.

The Server says '404 Error'.

I looked it up a lot on this code but still I'm unable to figure out why am i getting a 404 Error.


Messages In This Thread
Loading external JS file - by El Forum - 10-08-2013, 11:28 PM
Loading external JS file - by El Forum - 10-08-2013, 11:30 PM
Loading external JS file - by El Forum - 10-08-2013, 11:33 PM
Loading external JS file - by El Forum - 10-08-2013, 11:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB