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
Post a Comment