Trouble with autocomplete

Trouble with autocomplete

I'm Having trouble with Jquery autocomplete, I need to pass many variables to a php function, I need to get the value on an input Salle but it doesn't seem to work. Any ideas.


  1.  $(document).ready(function(){
  2.     $('input.typeahead3').typeahead({
  3.         name: 'President',
  4.         remote:'conf/Jury_auto.php?key=%QUERY&Projet=' +  $('#Salle').val() ,
  5.         limit : 10
  6.     });
  7. });