Code snippet to hide all

elements in JQuery

Amatya
Posted by Amatya under jQuery category on | Points: 40 | Views : 1309
To hide all <p> elements in JQuery

$(document).ready(function(){
$("button").click(function(){
$("p").hide();
});
});


Thanks
Amatya

Comments or Responses

Login to post response