I have this div that is supposed to be hidden when the page loads and it would appear when clicking on a certain button. Although in the CSS class I added display:none to the class and in the JQuery I added ("$('.panel').hide()") the panel still appears when the page is loading, once the page loads it disappears … Any suggestions on how to keep it hidden all the time untill the show button is clicked?
Thanks.
Try removing the jquery.hide() and if it still shows then you have an issue with the css. We can assume the jquery is working because its hiding it after the page finishes loading which is when the jquery will be executed for you.
Perhaps paste some code and we can get to the bottom of this…