Development JavaScript Tutorial

< HTML>

   Catch that error!





       name=btnThrow 
       value="Catch it!" 
       onClick="alert(catchError(document.theForm.errText.value));">