title: How to Call javascript function from asp.net code behind
body: <p>How to call JavaScript function from ASP.NET code behind?</p>
  
  <p>I have JavaScript function and I am using it in a <code>listview</code> with a parameter</p>
  
  <p>I want to use it with another parameter in code behind ?</p>
  
  <pre><code> &lt;a href="ChatBox.aspx?id=&lt;%# Eval("USR_UserID")%&gt; " 
       onclick="openWindow(this.href,'chat&lt;%# Eval("USR_UserID")%&gt;',600,600);
       this.blur();
       return false;"&gt;&lt;%# Eval("USR_UserName") %&gt;&lt;/a&gt;
  </code></pre>
  
  <p>that is the <code>listview</code> side. How can I use <code>openwindow</code> function in code behind fore specific ID?</p>