How jQuery Works
Category: Learn jQuery | 1,607 views | Add a Comment |
THE BASICS
This is a basic tutorial, designed to help you get started using jQuery. If you don’t have a test page setup yet, 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">
// Your code goes here
</script>
</head>
<body>
<a href="http://jquery.com/">jQuery</a>
</body>
</html>
Edit the src attribute in the script tag to point to your copy of jquery.js. For example, if jquery.js is in the same directory as your HTML file, you can use:
<script type="text/javascript" src="jquery.js"></script>
You can download your own copy of jQuery from the Downloading jQuery page.
Launching Code on Document Ready
The first thing that most Javascript programmers end up doing is adding some code to their program, similar to this: Read more…
- Why we use jQuery?
- CSS Padding Tutorials
- CSS Margin Tutorials
- CSS tests and experiments
- CSS Online Tutorials Guideline
- Top CSS Galleries
- Printing the Web CSS Techniques and Tips




