Error can't add file javascript on <head> tag
<p>I have a sample code:</p>

<pre><code>$('.tab').click(function(){
     $('head').append('&lt;link href="\"style.css\"" rel="\"stylesheet\"" type="\"text/css\""&gt;');
     $('head').append('&lt;script src="\"click.js\"" type="\"text/javascript\""&gt;&lt;/script&gt;');
});
</code></pre>

<p>This code only add file css on head, can't add click.js on head, how to fix</p>
