hmmm... does this work? maybe more efficient than c/c (as if it mattered!)
if (c-c!=0)
EDIT: no, silly me, as soon as the / or - operator sees it's dealing with a non-numeric string, it will return undefined. It won't actually do any division or subtraction. So same efficiency.
EDIT2: or
if (c*0!=0)
Or, could do:
if (isNaN(parseInt(c)))




Reply With Quote