I have a problem I would say stupid with html and javascript, a simple function that should make me visible and invisible a div crashes the html making it empty!
<button onclick="open()">Modifica</button>
js:
var x = document.getElementById ("joseph");
if (x.hidden == false) {
x.hidden = true;
} else {
x.hidden = false;
}