Php validateinteger not functioning
<p>Im trying to make an error box pop up when theres letters inside of the textbox, however it is not working and Im not sure what I need to do.</p>

<p>Heres the code for the section</p>

<pre><code>  &lt;tr&gt;
    &lt;td align="right"&gt;&amp;nbsp;&amp;nbsp;Weight:&lt;/td&gt;
    &lt;td&gt;&lt;input type="text" name="weight"  value="&lt;?php echo $weight?&gt;" onblur="validateinteger(Diamonds.weight,'weight')" &lt;?php if($formmode==1) echo 'disabled';?&gt; size="15" /&gt;&lt;/td&gt;
 &lt;/tr&gt;
</code></pre>

<p>Im new to this website so Im not sure how to post all the codes here therefore I uploaded everything to pastebin.</p>

<p>For complete code please click. <a href="http://pastebin.com/ZfUe6GWq" rel="nofollow">http://pastebin.com/ZfUe6GWq</a></p>

<p>Thanks in advance</p>
