I have the following directory structure
*application
*media
*system
I place my js files inside the media/js folder but when i try to include the js file in my view
<script type="text/javascript" src="media/js/common_functions.js"></script>
It gives the following error
Resource interpreted as Script but transferred with MIME type text/html
and it does not load the js file.. even the jquery file.. can sombody tell me what is the problem. what I may be doing wrong ?
scriptcode with view?<script type="text/javascript" src="../../media/js/common_functions.js"></script>