function isNotAlphanumeric(){ return (! val.match(/^[a-zA-Z]+$/))
therefore, if val is alphanumeric, it returns false. Therefore, based on the return value, appropriate actions are taken. You can call this method on a key up event.
rai.skumar
source share