document ready on click alert code example
Example: document ready javascript
$(document).ready(function(){
$("button").click(function(){
$("p").slideToggle();
});
});
$(document).ready(function(){
$("button").click(function(){
$("p").slideToggle();
});
});