title: How to use special character in jQuery array
body: <p>I am getting an error "Statement Expected", while I need to fetch data from mysql to text field.</p>
  
  <p>I am trying to make text field search auto complete. Please help me or provide  me another way to do search autocomplete in play framework.</p>
  
  <pre><code>@( formList: List[Driver_registrationInfo],form: 
   Form[Driver_registrationInfo]) )
  @main_dashboard("Vehicle tracker ") {
  &lt;input type="text" class="form-control" id="automplete-1" name="object.name"  
  /&gt;
  @for(info &lt;- Driver_registrationInfo.findAll()) {
  
      &lt;script&gt;
  
      &lt;!-- Javascript --&gt;
      $ ( function ( ) {
      var availableTutorials =[
  
         "@info.names"
  
      ] ;
      $ ( "#automplete-1" ).autocomplete ( {
      minLength : 2,
      source : availableTutorials
      } ) ;
      } ) ;
      &lt;/script&gt;
  
  }
  </code></pre>