Interview Questions

How jQuery Works

jQuery Interview Questions and Answers


How jQuery Works

start by creating a new HTML page with the following contents:

<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
// we will add our javascript code here
</script>
</head>
<body>
<!-- we will add our HTML content here -->

</body>
</html>



This page just loads the jquery.js library (make sure the URL points to where you stored your copy of jquery! This example assumes that you store it in the same directory as this example file). Two comments indicate where we will expand this template with code.

(Continued on next question...)

Other Interview Questions