I am trying to get status of a div visibility , its display is block or none here is my code
$('#btn').live('click', function (event) {
var status = $('#menuDiv').is(":visible");
alert(status);
});
but it always return false even div is visible Here is the fiddle http://jsfiddle.net/50at8ydj/4/