I have an invisible div by display: none
.
I need to load div after clicking on button, not OnPageLoad.
Notice :
I said LOAD div after Clicking button, i'm not talking about SHOW div.
I don't want load div on page load.
HTML is here :
<input id="btn" type="button" value="Load Div" />
<div class="content" style="display: none;">
<img src="http://www.kippaxvet.com.au/Portals/kippaxvet/cute%20pup.jpg" />
</div>
How can i do that ?
Any ideas would be appreciated.
EDIT {More information} :
I have a div with many elements and images in there.
If i load that div onPageLoad it's very heavy and take long times.
I just need to Load that div when the user want show it up.