How do I validate a number in the box if the number should be greater than 60 (using javascript)?
<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Mobile number validation using regex&lt;/title&gt;
&lt;body&gt;
&lt;script type="text/javascript"&gt;
function regIsDigit(fData)
    {
        var reg = new RegExp(”^[6-9][0-9]$”);
        return (reg.test(fData));
    }
&lt;/script&gt;
&lt;form &gt;

name: &lt;input type="text" name="fData" &gt;
&lt;input type="submit" value="Check" onclick="regIsDigit();" &gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
