How to pass multiple parameter on dynamic link function jquery function C#? <p>I have one c# web application in which put one link dynamically like,</p> <pre><code>if (oObj.aData[1] == '2') { Id = oObj.aData[7]; Name = oObj.aData[2]; alert(Name); return '&lt;a href=# onClick="Show(' + Id + ',' + Name + ');"&gt; Show &lt;/a&gt;'; //this is } </code></pre> <p>function like,</p> <pre><code>function Show(id,name) { alert('calling'); } </code></pre> <p>but my function not calling. </p> <p>Is any syntax error or anything else which I forgetting?</p> <p>Please help. </p>