title: using jquery autocomplete i am trying to get the value in the text box as table the datas are not coming from json using ajax in the text field
body: <p>This is the first time I am using ajax with json for autocomplete (Jquery) the result will look like the auto-complete but the structure(output) will look like table.</p>
  
  <p>Here is my jquery code</p>
  
  <pre><code>$("document").ready(function (){
     $(function () {
      $.ajax({
          url: "dummy.json",
          success: function(){
              alert("got the file");  
          },
            error:function (xhr, ajaxOptions, thrownError){
                console.log(xhr.status);
                console.log(thrownError);
            }
  
      });
      return false;
     });
  });
  </code></pre>
  
  <p>Here is my json data </p>
  
  <pre><code>{  
   "schoolname":{  
    "school":[  
       {  
          "id":"1",
          "description":"COL000001",
          "schoolname":"Emirates College of Technology- UAE"
       },
       {  
          "id":"2",
          "description":"COL000002",
          "schoolname":"Al Khawarizmi International College- UAE"
       },
       {  
          "id":"3",
          "description":"COL000003",
          "schoolname":"Syscoms College"
       },
       {  
          "id":"4",
          "description":"Other",
          "schoolname":"Other 1"
       }
    ]
   }
  }
  </code></pre>
  
  <p>I am getting an error in firefox for console.log(xhr.status); 200 and console.log(thrownError); Invalid XML:</p>
  
  <p>I am new this I confused why this was not working I tried putting console.log in error function</p>
  
  <p>This is my html code where my autocomplete </p>
  
  <pre><code>&lt;input type="text" class="ipt_Field" id="scl_name"&gt;
  </code></pre>
  
  <p>Thanks in advance
  Mahadevan</p>