form validate using jquery
<pre><code>1,&lt;input type="text"  value="" size="60" id="field-you-0-value"&gt;

2,&lt;input type="text" class="text" value="" size="60" id="field-test-0-value"&gt;
</code></pre>

<p>3, </p>

<pre><code>&lt;input type="submit" class="form-submit" value="Save" id="edit-submit" name="op"&gt;
</code></pre>

<p>the above is the submit button. i want to use jquery to do this. if the 1,2,3 input is no value. when he click the submit button. then alter a box. "you should write something."</p>

<p>this is my code. but it's too bad.</p>

<pre><code>$(document).ready(function(){
if((#field-you-0-value).val()='' &amp;&amp; .......)
$(#edit-submit).click(alert("test....."));

})
</code></pre>
