I have a div that should be shown only when the user clicks the show button
$(\"div.toshow\").show();
I have written in the body
$('#myDiv').hide(); $("myDiv").css("visibility", "hidden"); .toshow { visibility:hidden; display:none; }