Tuesday, August 24, 2010

begin with jquery


Create files for testing your learning jquery simple html
<html>

<head>
<script type="text/javascript" src="path/to/jquery.js"></script>
<script type="text/javascript">
/ / Insert your code here
</script>
</head>
<body>
<a href="http://jquery.com/">jQuery</a>
</body>
</html>
Edit the line location of the file jquery.js. Correct.
<script type="text/javascript" src="js/jquery-1.2.6.min.js"></script>
Ready for writing jquery.
<html>

<head>
<script type="text/javascript" src="js/jquery-1.2.6.min.js"></script>
<script type="text/javascript">
/ / Insert your code here
</script>
</head>
<body>
<a href="http://jquery.com/">jQuery</a>
</body>
</html>

No comments:

Post a Comment