disable if input value is text and enable if it number
<p>I want :
if the value of input is text, then disable.
if the value of the same input is number ,then enable. </p>

<p>the code is</p>

<pre><code> &lt;input type="text" value ="&lt;?php echo $row [0];? disable&gt;
</code></pre>