jquery - Order of Bootstrap and CSS files -
please me order jquery , css references in asp.net mvc project because of files aren't running , aren't being loaded.
<script src="~/scripts/_references.js"></script> <script src="~/scripts/customjavascript.js"></script> <script src="~/scripts/jquery-1.10.2.intellisense.js"></script> <script src="~/scripts/jquery-1.10.2.js"></script> <script src="~/scripts/jquery-1.10.2.min.js"></script> <script src="~/scripts/jquery-2.2.1.js"></script> <script src="~/scripts/jquery-2.2.1.min.js"></script> <script src="~/scripts/_references.js"></script> <script src="~/scripts/jquery.validate-vsdoc.js"></script> <script src="~/scripts/jquery.validate.js"></script> <script src="~/scripts/jquery.validate.min.js"></script> <script src="~/scripts/jquery.validate.unobtrusive.js"></script> <script src="~/scripts/jquery.validate.unobtrusive.min.js"></script> <script src="~/scripts/bootstrap.js"></script> <script src="~/scripts/bootstrap.min.js"></script> <script src="~/scripts/modernizr-2.6.2.js"></script> <script src="~/scripts/respond.min.js"></script> <script src="~/scripts/respond.js"></script> <script src="~/scripts/jquery-2.1.1.js"></script> <script src="~/scripts/jquery.menu-aim.js"></script> <!-- menu aim --> <script src="~/scripts/main.js"></script> <!-- resource jquery --> <script src="~/scripts/modernizr.js"></script> <!-- modernizr -->
you required order files keeping in mind points
key point is:
first, put .css files on top bootstrap.css or bootstrap.min.css , jquery.js , jquery.validation.js.
first: main files comes first
i.e.
<script src="~/scripts/jquery-1.10.2.min.js"></script>
then predecessor, on other files depending.
<script src="~/scripts/jquery.validate.min.js"></script>
Comments
Post a Comment