Beginners question: Variable in Javascript
<p>I'm new to javascript and cant get this little thing to work. (all external scripts a of course loaded)</p>

<p>I have this jQuery script:</p>

<pre><code>$('a.Link').click(function(){
    autoComp('City');
});


function autoComp(strFormName) {
    var Company = 'Adobe Apple Microsoft'.split(" ");
    var City = 'London Paris Berlin'.split(" ");
    $('#'+strFormName).autocomplete(strFormName) 
}
</code></pre>

<p>I cant get it to work. I've discovered that the problem is the last "strFormName" after .autocomplete</p>

<p>Appreciate all the help I can get.</p>
