javascript - Visibility of default context menu -
i struck problem. need know whether or not context menu hidden or not. not using kind of plugin context menu.
what did fix when right click , open context menu (default) make
contextmenuvisible = true
while menu open , click anywhere else menu gets hidden, in click click event handler not called. need set contextmenuvisible
false
.
may wrong approach solve issue, if please tell me way achieve this. please help.
you can use hidden selector:
// matches elements hidden $('element:hidden')
you can use in jquery
var ishidden = $('#mydiv').is(':hidden');
check value of ishidden
checking visibility.
Comments
Post a Comment