I have 5 div on one page. Something like that:
<div id="div1"> some content </div>
<div id="div2"> some content </div>
<div id="div3"> some content </div>
<div id="div4"> some content </div>
<div id="div5"> some content </div>
<button> Load More </button>
I want to make only first div loaded, after clicks button Load more, then I want to be loaded second div, if he/she clicks one more time Load more button, I want to be loaded third div (but first two divs shouldn't hide). Is it possible using Javascript or Jquery?
I'm newbie in Javascript. I tried doing using this: http://jsfiddle.net/vendettamit/QB8Hv/ Tried different versions, but I couldn't :(
I don't need to make class hidden and display: none using css. I want this divs not to be loaded, if user doesn't click on button, because I have big traffic.