title: Zend Framework and Jquery :: Ajax - Check if id is available - How to?
body: <p>On a given form <strong>input field</strong>, <strong>on blur</strong>, I would like to check if that input value is valid. <br/>To know if that id is valid or not, I need to <strong>query the database</strong>. <br/>If it's not valid, a message should appear next to the input field indicating that the option is not valid.</p>
  
  <p>I'm over Zend Framework, however, this is my very first solo Ajax experience.</p>
  
  <p>Can I have a skeleton about how something like this could be implemented please ?</p>
  
  <p>I'm a little aware that something like this should be used...</p>
  
  <pre><code>if($this-&gt;getRequest()-&gt;isXmlHttpRequest()) {
  ...
  </code></pre>
  
  <p>but I really need a help here. :s</p>
  
  <p>Thanks a lot,<br/>
  MEM</p>