Hi, i am trying to get an input field, id=”field_1359″ from buddypress to autocomplete from a pre-defined list on javascript. So far, i tried to put at header.php before the </head> the following: <script> $(function() { var availableTags = [ “ActionScript”, “AppleScript”, “Asp”, “BASIC”, “C”, “C++”, “Clojure”, “COBOL”, “ColdFusion”, “Erlang”, “Fortran”, “Groovy”, “Haskell”, “Java”, “JavaScript”, “Lisp”, “Perl”, “PHP”, “Python”, “Ruby”, “Scala”, “Scheme” ]; $( “#field_1359” ).autocomplete({ source: availableTags }); }); </script> It didnt work. How can i do it?