detecting a character in input box
<pre><code>if(document.form.user.value=='')
</code></pre>

<p>this is  a javascript code which tests if it is empty input box,</p>

<p>but I need a piece of code which controls is there any character in input box?
could anyone help me?</p>

<p>I mean any character like  /, &amp;, or any letter... or I can say any character which is not number!</p>
