Sometimes when you are working on a page and want to publish it and you have some JavaScript errors, but you don't have time to debug it, you can put the following code in order to ignore the JavaScript errors:
<head>
<script language="javascript">
function stoperror() {
return true;
}
window.onerror = stoperror();
</script>
</head>
thank you tha#s nice
ReplyDeletebut why can't we just say this:
window.onerror=True
I agree with the first anon replier. Why are you using a function to process nothing? If all your function does is return a value, just use the value.
ReplyDeleteWow all I can say is that you are a great writer! Where can I contact you if I want to hire you?
ReplyDeleteIs there anymore information you can give on this subject. It answers a lot of my questions but there is still more info I need. I will drop you an email if I can find it. Never mind I will just use the contact form. Hopefully you can help me further.
ReplyDelete- Robson
Very nice to read such "old" posts!
ReplyDeleteThis topic, like the little that you can see, they feel accompanied us at the beginning