jQuery Basic Setup

Submitted by:Pitter Alderson

Date added:20 August, 2015

Category:jQuery

Basic setup code for jQuery, linking to Google APIs for the jQuery library.

Tags: jquery setup , jquery library

Code Snippet:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
//Insert your jQuery code here
});
</script>
</head>

<body>
jQuery setup example
</body>
</html>
 
 

Comments