I am a novice in ASP.NET MVC. Recently, I try to import a javascript file in a asp file. But I get this Error:
Not allowed to load local resource
no matter using IE, Chrome or Firefox.
My code:
*/Views/Menu.aspx*
<head runat="server">
<title>...</title>
<script language="javascript" type="text/javascript" src="file:///C:/Users/...(Absolute Path).../jquery.min.js"></script>
</head>
I study other similar questions and I think maybe this is a secure problem. But I still don't know how to solve it.
Could anyone give me come give me some advice?