|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
If it is possible to trap the javascript errors by some way, please help me.
|
|
#2
|
|||
|
|||
|
In Javascript 1.4, you can put a try...catch block around your code, like this:
try { statements } catch (excvar) { (exception code) } finally { (this code is always executed) } Any exception in the try block will transfer control to the catch block. The finally block is always executed. More info is in the Javascript guide and reference at http://deveoper.netscape.com Success, Ton |
|
#3
|
|||
|
|||
|
Thanks ton
|
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Is there any way to handle Exceptions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|