javascript - isNAN not evaluating -
newb here trying learn i'm attempting check data entered form, if data entered second or third inputs not numeric (i.e. alphabetical) display notice user info not numeric. using 'isnan' function this, it's not working i'd hoped based on i've read on google, stack , other places. i've tried both 'isnan' , '!isnan', neither 1 triggers hoped event within script. here javascript attempting: if(empty(thisform.epiname,"episode name left blank. please enter name of episode submitting can boldly go , check results!")){return false;} if(empty(thisform.rstot,"red shirt total left blank. please enter total estimated number of starfleet officers wearing red shirts appear in episode can boldly go , check results!")){return false;} if(empty(thisform.reremaining,"red shirts surviving left blank. please enter number of starfleet officers survive episode can boldly go , check results!")){return fals...