Try Catch Runtime Error (Javascript)
:
Return to List
try
{
var el = form.elements[i].options[form.elements[i].selectedIndex].text; // command generating error
} catch (e) {
} // in this case nothing is done when error is "caught" (cmd between final braces)
Note to Webmaster