call the java script method from href
<p>I have this variable file_link declared in one of my javascript function, I would like to call the get_links method from this variable, please help me with the correct syntax.</p>

<pre><code>var filelink = "&lt;a href='javascript:get_links(" + source_id + ")'&gt;" + name + "&lt;/a&gt;";
</code></pre>
