XmlGrid Users Forum
2012-05-20 15:00:37 You can use this function to detect or validate an integer number in javascript

__code__
function isInt(s) 
{
    if (s != null && s != "" && !isNaN(s)) {
        return (parseInt(s, 10) == s);
    }
    return false;
}
__code__

This function returns true if a valid inter is passed in otherwise returns false.
;3411;2012-05-20 15:00:37__s__You can use this function to detect or validate an integer number in javascript

__code__
function isInt(s) 
{
    if (s != null && s != "" && !isNaN(s)) {
        return (parseInt(s, 10) == s);
    }
    return false;
}
__code__

This function returns true if a valid inter is passed in otherwise returns false.
__s__~u=Zac~site=NULL__s__How to detect or validate an integer number in javascript__s____m__

Best view with Google Chrome