anchor click function not working
<p>when I click on the link, event is firing but alert() function is not working. I mean, it is not executing the function code. any help is appreciated. thanks. </p>

<pre><code>&lt;a id="linkSurveyId" href="/wordcloud/49" title="Melodifestivalen"&gt;Melodifestivalen &lt;/a&gt;

   $("#linkSurveyId").click( function (e) {
    e.preventDefault();
    alert("welcome");

});
</code></pre>
