Friday, 9 May 2014

jquery document ready

$(document).ready(function(){
//Write your code....
});
Example...
$(document).ready(function(){
$("button").click(function(){
$("p").slideToggle();
});
});