In by below code i am trying to check whether there are any Li that is visible. that well help me to determine whether to display some message or not.
but li:visible is not working in IE 7
function MangeEmptyRecordList() {
var leftPanel = $('#' + firstContainer);
var rightPanel = $('#' + secondContainer);
var firstContainerList = leftPanel.find('li:visible');
if (firstContainerList.length > 0) {
$("#emptyFirstContainer").hide();
}
else {
$("#emptyFirstContainer").show();
}
}
what is the alternate of :visible for IE7.
PS: In some situation there are some Li that are invisible.