passing url as parameter in javascript is not calling the function
<pre><code>&lt;a href="javascript:void();" onclick="openWindow(2,1,4326,http://www.../images/icon_tree1.gif);"&gt;Edit Asset Info&lt;/a&gt;
</code></pre>

<p>Function openWindow is not called and I am see the folowing error on console</p>

<p><code>Uncaught SyntaxError: Unexpected token :</code> and </p>

<p><code>Uncaught SyntaxError: Unexpected token )</code></p>

<p>This is the actual code I am using </p>

<pre><code>return "&lt;a href='javascript:void();' onclick='openWindow(" 2 "," + 1 + "," + 4326 + "," + symbolurl + ");'&gt;Edit Asset Info&lt;/a&gt;";
</code></pre>
