Wednesday 6 March 2019

Neat CSS trick to naturally hide a div (No item disappeared from page when page loaded to user) using Jquery

.hidden {
display: none;
}
Add this to any element you don't want to be visible when loading the page. Then use $("div#extraControls").show(); to display it again.
https://stackoverflow.com/questions/2951053/how-do-i-hide-an-html-element-before-the-page-loads-using-jquery

No comments:

Post a Comment