Jquery code snippet to hide the class

Amatya
Posted by Amatya under jQuery category on | Points: 40 | Views : 262
The elements with class="DNF" will be hidden, as the button is clicked

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

Thanks
Amatya

Comments or Responses

Login to post response