I am getting an error when I run the code in Internet Explore 11. It works fine when I run on FF and Chrome. I also checked IE 8 on windows server 2003 server and it works.
error SCRIPT5009: 'Page_ClientValidate' is undefined
javascript code:
function systemValidation() {
if (Page_ClientValidate()) { .. } }
any ideas why it is failing?
UPDATE
I also tried the code below and still doesnt work. so annoying..
function validateThis() {
if (typeof (Page_ClientValidate) === 'function') {
var isPageValid = Page_ClientValidate('');
if (isPageValid) {
alert("page valid");
return true;
}
}
alert("page NOT valid");
return false;
}
are there any other alternatives to do the same task?