Library - JQuery

Back to Course

Lesson Description

Lession - #564 JQuery Callback

A callback function could be a function that is executed once the effect is complete. The callback function is passed as an argument to the effect methods and that they typically appear as the last argument of the method.




 <title> jQuery Example</title>  
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js">  
{ $("button">
{ $("p">
.hide("slow", function(>
{ alert("The paragraph is now hidden">
; }>
; }>
; }>
; </script> </head> <body> <button>Hide</button> <p>techedhub.com</p> </body> </html>
Try it here