Marius Vasile

Marius Vasile

  • 592
  • 1.9k
  • 145.5k

asp.net use of offline jquery and bootstrap fail

Aug 14 2024 11:48 AM

I have to use Visual Studio 2010 and I have trouble using jquery and bootstrap offline. When I use the online version it works perfectly but same files downloaded locally are not. I can't understand why. I have the files in a site.master file, can't upload content of the file due to links, but in head tag I have .css files

and before closing body tag I have .js files

 

this works perfectly. But when I download files locally it does not.

within head tag

<link h ref="Styles/bootstrap/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link h ref="Styles/jquery/jquery-ui.css" rel="stylesheet" type="text/css" />

and before clodsing body tag

<script src="Styles/jquery/jquery-3.7.1.js" type="text/javascript"></script>
<script src="Styles/jquery/jquery-ui.js" type="text/javascript"></script>
<script src="Styles/bootstrap/bootstrap.min.js" type="text/javascript"></script>

What am I doing wrong?


Answers (2)