if (lVarScript == 'CN_TYPE')
{
parent.fnEffDateCheck();
document.frmMain.hidChgType.value = '1';
parent.fnChangeType();
}
wat doest the above code means?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check the variable ‘lVarScript‘ equal to ‘CN_TYPE‘
If yes
Call a function fnEffDateCheck in parent. [ parent: Returns a reference to the parent of the current window or subframe. ]
Change the value of DOM element hidChgType in the form ‘frmMain‘ to 1.
Call another function fnChangeType in parent.