Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

1. Understanding jQuery > Getting Started

Getting Started

To get started with jQuery, you first need to download the framework from jquery.com and include it in your webpage, or you can simply reference it via the Google, Microsoft, or jQuery content delivery network (CDN). I recommend and most often reference the library via a CDN because it’s faster. A CDN will distribute your content across multiple, geographically dispersed servers, so the user receives the closest available file. Plus, Google and Microsoft both offer versions that support secure socket layers (SSL) via HTTPS, must-haves if you’re doing any sort of development under SSL. To include the library via a CDN (we’ll use Google as an example), use the script element to include it within the <head> elements or at the end of your webpage.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial