<script>
tag. As jQuery is nothing but a JavaScript library, jQuery code can be placed in the <script> element. However, to place in an external JavaScript file, which is preferred, remove this part.
[html]
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
</head>
[/html]
Now, use jQuery to manipulate this jQuery Application, and typically follow these below steps of actionDOM
.HTML elements
of document to modify.Traverse
the selected elements of the document.event handling functions
like click, mouseover etc.