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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -