what's wrong with this line of code? Why it isn't passing parameter to update function : <p>Here is my line of code:</p>

<pre><code>Response.Write(String.Format("&lt;td id = {0} onclick = 'update({0})' &gt;", studentid));
</code></pre>

<p>JavaScript function is being called but the parameter is not being passed. What went wrong?
Any ideas?</p>
