I have a script that allows to hide on a element when it's been clicked on but it is not working right..
Here's the code:
#js#
var element = document.getElementById('elt');
elt.onclick = function(e)
{
elt.style.display = 'none';
}
#js#
Thank you for your help !
Répondre