HTML and CSS Reference
In-Depth Information
Figure 2-2. Files available on the Microsoft Ajax CDN
Whether you keep a local copy of the jQuery library or refer to it from the Microsoft Ajax CDN, you
need to add a <script> reference to it as shown in Listing 2-1.
Listing 2-1. Referring to the jQuery Library
<!-- Referring to a local copy of the jQuery library -->
<script type="text/javascript" src="Scripts/jquery-1.7.2.min.js"></script>
<!-- Referring to the jQuery library from the Microsoft Ajax CDN -->
<script type="text/javascript"
src=" http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.js">
</script>
In Listing 2-1, the first <script> tag refers to the jQuery library from a local folder named Scripts .
Make sure you change this path to match your project folder structure. If you use the Microsoft Ajax CDN
 
Search WWH ::




Custom Search