$(document).ready(function(){
$('#hideButton').click(function(){
$('#disclaimer,#clock').hide();
});
});
In the above code snippet, suppose I want to add both the code
- for show() function to show the content and
- for hide() function to hide the content.
is it possible?
1 Answer