If the visibility property of the style of an HTML element is set to hidden, is it still clickable?
visibility
hidden
When the display property
display
Making div hidden or display none just makes it un clickable to user. But in real its still an element in dom and you can click it with another java script/jquery like this.
$('div').click(function() { alert('Hello') }); $('div').click();
jsfiddle