No More Solutions

You can find a lot of debugging and deploying problems while developing applications in .NET and Visual Basic here. There are also some querying tips in SQL and typical source codes which might be useful shared here.

Anti Java Script Error

You may often find sites with Java Script errors in it.

With this portion of code, you can get rid of Java Script errors on your site.
I suggest using this error handler wisely ^^

Code:
<script type="text/javascript">
//Stop Error : No Time For joke! Anti JS error
//START :: Error Handler ModalPopUpDialog
function errorHandler(msg, file, line) {
return true;
}
window.onerror=errorHandler;         
//END
</script>
Bookmark and Share

4 comments:

  1. Corat - Coret [Ria Nugroho] said...
     

    udah lama gak mampir kesini :D
    makasih ya ucapannya kemarin ^^

  2. Steven Luck said...
     

    Ehehehe, iyah neh, jarang mampir lagi :P Sering2 dateng ^^

  3. Danan said...
     

    wah keren steven, gw coba scriptnya di blog gw, lgsg deh ga keluar lagi eror popup di IE 8...
    top..top...

  4. Steven Luck said...
     

    Hehehe, iyah, scriptnya OK, ampuh ^^

Post a Comment