javascript - SCRIPT5009: 'Page_ClientValidate' is undefined -


i getting error when run code in internet explore 11. works fine when run on ff , chrome. checked ie 8 on windows server 2003 server , works.

error script5009: 'page_clientvalidate' undefined

javascript code:

function systemvalidation() {    if (page_clientvalidate()) { .. } } 

any ideas why failing?

update

i tried code below , still doesnt work. 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 other alternatives same task?

one more thing, can prevent runtime errors updating code bit:

typeof(page_clientvalidate) === "function" 

Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -