How to make the Textbox field accept only Decimal Values
A:
Hi, Try this:
function is_int(test)
typeof (a = (typeof test == "function" ? test() : test)) == "number" ? !(a % 1) : false;
returns:
is_int(8) // true
is_int("8") // false
function test() {
return 12
}
is_int(test()) // true
Jet
2010-07-19 14:59:38