How do I display an error message using ajax next to a text box?
<p>I just started PHP. I created a form in which there are three textboxes (name,email,age). Now suppose I fill deepak in textbox1 and then I press tab to go on next textbox but I keep it empty and then I press again tab and g in last textbox. As I move to third textbox, on the right side of textbox2 a error message should be displayed (plz fill email box). How I can do this? I know for this ajax will be used because I am not refreshing the page. Please give an example. Because once I get it I can apply this for all boxes...</p>

<pre><code>                          Thanking You in Advance...
</code></pre>
