Hiding a div by default

jquery

Solution

Yes you can use `style` like this:

<div class="toshow" style="display:none"></div>

Problem

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 ``` <body> <div class="toshow"> </div> </body> ``` so by default when the page is displayed all this content is seen the user. Is there a way that I can hide it bydefault?

Original source