title: How to display returned JSON from a jQuery
body: <p>How to get display return values from the JSON values.I need to get value the user id</p>
  
  <pre><code> $('User_id').observe('blur', function(e) {
     var txt = $('User_id').value;
     jQuery.ajax({
       type: 'get',
       url: BASE_URL + 'admin/index/user_id',
       data: {
         user_id: txt
       },
       dataType: 'json',
       success: function(data) {
         console.log('success' + data.success);
         if (data.success) {
           var Value = data.location.user_id;
           alert(Value);
         }
       }
     });
   });
  </code></pre>
  
  <p>These values are getting in html form. In that I need to store user id in Value varable. But I receive successundefined as a output..</p>
  
  <pre><code>[{
    "user_id": "139",
    "mobile": "9042843911",
    "gender": "male",
    "hashcode": "DfAbMqLApAV6nVa1z940",
    "username": "anandhsp21",
    "password": "74bcff7d1199012e154f364e3f65e31d:8I",
    "authorized_person": "Anandh",
    "created": "2015-06-08 13:46:55",
    "modified": "2015-06-08 06:43:35",
    "logdate": "2015-06-08 08:16:55",
    "lognum": "12",
    "reload_acl_flag": "0",
    "is_active": "1",
    "extra": "N;",
    "rp_token": null,
    "rp_token_created_at": null,
    "app_name": "",
    "api_key": ""
  }] 
  </code></pre>
  
  <p>Please some one help. Thanks in Advance</p>