title: how to call the class library from .js file in .net
body: <p>I need to call the Class library function from JavaScript file after some calculation are done. With some parameters.</p>
  
  <p>The function is called after text is changed as bellow:</p>
  
  <pre><code>text.Attributes.Add("onchange", "calculate()");
  </code></pre>
  
  <p>After <code>calculate()</code> is done from the .js file I want to call the Class Library.
  Is this Possible to achieve, Please help to solve this.</p>
  
  <p>I tried to call it by onchange but already using it to call JS function.</p>
  
  <pre><code>text.Attributes.Add("onchange", "text_change(text)");
  </code></pre>