Thursday, December 30, 2010

Hiding Java Script page error

To remove Java Script page error just put below code block at the end of HTML file.

<script type="text/javascript">
function noErrorMessages () { return true; }
window.onerror = noErrorMessages;
</script>

No comments:

Post a Comment