March 23, 2012
Javascript stop execution abort or exit
Question by Rocky111
if(a.value==1 && b.value==2)
{
try{callFunc() }catch(e) {}
}
frm.submit();
inside function callFunc()
what i have to write so that execution completly stops
it should not execute frm.submit();
function callFunc()
{
//stop execution here ensure it wont execute fm.submit()
}