try {
<%if(lBlnBlockScreen){%>
UTIL_FORM.fVarForm = document.all.frmMain;
UTIL_FORM.fVarInclude = [
document.getElementById('INT_GENDER_DROPDOWN'),
.
.
.
document.getElementById('INT_JOIN_calender')
];
UTIL_FORM.fnDisableAll();
document.frmMain.CancelButton.style.display = '';
document.frmMain.Benefit.style.display = '';
document.frmMain.DepButton.style.display= '';
document.frmMain.Companion.style.display= '';
document.frmMain.Nominee.style.display= '';
<%}%>
} catch(e) {
alert(e.message);
}
fnSetMandatory();
}
Juz wan to clarify that the above try-catch conditon work or not work? Since the lBlnBlockScreen variable did not consists of value? how can i printout the value of the lBlnBlockScreen ?
In additon, does this method work UTIL_FORM.fnDisableAll()
because it seem did not being called. If possible, please help to clarify whether the above code works well or not?