Hi ,
In my application i have a small popup window. when i close the cornor icon(x) it's not closing in mozilla. But it is closing in IE. I am using the following code.
thanks in advance..Code:function newApptNameInline( day, start,cell ) // this JS method is calling unnecessorly. this JS method is for opening a popup. { // Don't process if there's a refresh in progress if ( fcCalRefreshInProgress == 1 ) return; if (disableNewApptOnClick) { disableNewApptOnClick = false; return; } newApptNameInlineDay = day; newApptNameInlineStart = start; obj = null; if (fcNewApptNameHolder == null) { fcNewApptNameHolder = document.getElementById('fcNewApptName'); obj = fcNewApptNameHolder; } else { obj = fcNewApptNameHolder; } // Add it to the table cell so it will display there. cell.appendChild(obj); $('fcQuickAddRemember').checked = typeof quickupdatevalue != 'undefined' ? quickupdatevalue : $('fcQuickAddRemember').checked; // un-hide it obj.style.visibility = 'visible'; obj.style.display = "block"; // put it above any other divs (hopefully) obj.style.zIndex = 99999; $('fcNewApptNameInput').value = ''; $('fcNewApptNameInput').focus(); $('fcNewApptNameInput').select(); } </script>




Reply With Quote