title: How to get value of jquery variable into textbox field?
body: <p>code:</p>
  
  <pre><code>&lt;script&gt;
      $(function() {
      $( "#university_name" ).autocomplete({
      source: 'autocomplete.php',
      minLength:2,
      select: function(event, ui) {
      var x = ui.item.value;
      }
      });
      });
  &lt;/script&gt;
  
  &lt;input type="text" id = "university_name"  name = "university_name" value= "x" placeholder = "University Name" &gt;
  </code></pre>
  
  <p>Here I want to place jquery variable value i.e var x  into input field value So How can we do this ?</p>
  
  <p>Thank You  </p>