Mystyle display none elrejti a DIV tartakmat, de a script megjeleníti.
<!DOCTYPE html>
<html>
<head>
<style>
.mystyle {
display: none;
}
</style>
</head>
<body>
<button onclick="myFunction()">+megjelenít</button>
<div id="myDIV" class="mystyle">
Tartalom megjelenítve
</div>
<script>
function myFunction() {
document.getElementById("myDIV").classList.remove("mystyle");
}
</script>
</body>
</html>