jquery mask output -
i have jquery masked textbox has mask:
$("#txthtml").mask("99/99/9999"); when check output, has '/' in value. there easy way user entered , nothing else? if text box read 01/01/1990 want 01011990 .
same thing if have phone number mask, how can user input only?
javascript can replace / characters empty string: yourdatestring.replace(/\//g, "")
Comments
Post a Comment