jQuery-Plugins icon indicating copy to clipboard operation
jQuery-Plugins copied to clipboard

Decimal point problem

Open javarebel opened this issue 14 years ago • 0 comments

In Firefox if you remove a decimal point from the input box once, then you can't put a decimal point back.

Workaround for this: if(!$(this).val() || $(this).val().indexOf('.') == -1) { this.containsDecimal = false; } Put above code snippet above the line : var allow = false;

javarebel avatar Apr 07 '11 21:04 javarebel