defining function for page in document.rady code example
Example: document ready javascript
$(document).ready(function(){
$("button").click(function(){
$("p").slideToggle();
});
});
$(document).ready(function(){
$("button").click(function(){
$("p").slideToggle();
});
});