This is very simple to do require setup
to use jQuery library. You have to carry two simple steps:
2. Now put
downloaded jquery-1.3.2.min.js file in a directory of your
website, e.g. /jquery.
The downloaded file name
jquery-1.3.2.min.js may vary for your version. Your minified version would be
kind of unreadable which would not have any new line or unnecessary words in
it.
The jQuery does not require any special
installation and very similar to JavaScript, we do not need any compilation or
build phase to use jQuery.
Now you can include jquery library
in your HTML file as follows:
<html>
<head>
<title>The jQuery Example</title>
<script
type="text/javascript"
src="/jquery/jquery-1.3.2.min.js"></script>
<script
type="text/javascript">
// you can add
our javascript code here
</script>
</head>
<body>
........
</body>
</html>
|
No comments:
Post a Comment