title: Jquery catch JSON response
body: <p>I really have no idea whats wrong with the following code . I am not getting any response in the status ...</p>
  
  <pre><code>&lt;script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.min.js"&gt;    
  &lt;/script&gt;
  &lt;input type="text" name="UserName" id="UserName" /&gt;
  &lt;div id="divStatus"&gt;&lt;/div&gt;
  &lt;script type="text/javascript"&gt;
      $("#UserName").keyup(function() {
          var name = $("#UserName").val();
          var status = $("#divStatus");
          var user = $.trim(name);
          if (user.length &gt; 3) {
              status.html("Checking....")
              $.getJSON("http://192.168.0.14/openids/api/json/user/username/availability/check/", {
                  username: name,
              }, function(data) {
                  status.html("got")
              });
  
          } else {
              status.html("Min 3 letters ");
          }
      });​
  &lt;/script&gt;
  </code></pre>
  
  <p>The json response is as follows :</p>
  
  <pre><code>  {"status": "Error", "message": "A user with this username already exists."}
  </code></pre>