1.

How to use jQuery libarary and call function from it

Answer»

To use jQuery we need to simple add below LINE in our HTML code file which is as below

< script type="text/javascript" SRC="/jquery/jquery-1.3.2.min.js">< /script>

And to call function from it we need to use below code

< script type="text/javascript" language="javascript">
$(DOCUMENT).READY(function()
{
$("div").click(function()
{
alert("Hello world!");
});
});
< /script>



Discussion

No Comment Found