Uncaught SyntaxError: missing, ) after argument list : <p>im bulding a search box for movies using an API
any time onkeyup event takes place a function is called which in turn prepare an ajax and display the responsed json in  li tags.
of course it displays 20 results i want to be able to store the result the user clicked on and displayed on div id="target"
here is my code:</p>

<p><a href="http://jsfiddle.net/bkj2z39y/" rel="nofollow">http://jsfiddle.net/bkj2z39y/</a></p>

<p>every thing is working except the clicking </p>

<pre><code> function func(str) {

 $('#here').html('');
 document.getElementById("here").style.border = "0px";
 $('#movie').val('');
 alert(str);

    $('#target').html(str);
      console.log(str);

      }
</code></pre>

<p>i have tried several methods, this last one gives me an error </p>

<p>Uncaught SyntaxError: missing ) after argument list</p>
