I am trying to add an external javascript file to Codeigniter application.
I have placed my external js file in the "projectname/js/" folder.
Below is the script tag src in my view page. src="http://localhost/needpcbcodeigniter/js/registration.js">
But I am getting a "Not found" error for the js file.