Hi
I have a onclick link to calling one Javascript method. after calling that JavaScript method the another Javascript method is also calling by default. so how do i stop the another JavaScript method .
The folling code i wrote
thanks in advance..Code:function newApptCloseWithoutSave() // this method i need to call { document.getElementById('fcNewApptName').style.display = "none"; } function newApptNameInline( day, start,cell ) // this method is calling unnecessarily { if ( fcCalRefreshInProgress == 1 ) return; // 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(); }




Reply With Quote