How can I call a method that are in my code-behind via Javascript or Jquery
<p>I have the follow line in my Javascript code </p>

<pre><code>credenciadausuario = '&lt;%= getCredenciada() %&gt;';
</code></pre>

<p>In my code-behind I have this method </p>

<pre><code>public string getCredenciada()
{
    Utilidade.QuebraToken tk = new Utilidade.QuebraToken();
    string credenciada = tk.CarregaToken(1, Request.Cookies["token"].Value);
    return credenciada;
}
</code></pre>

<p>but when I put the debugger in my javascript code, the credenciadausuario variable, receives the string "&lt;%= getCredenciada() %>" and not the return of my method. How can I call my method that are in my code-behind via javascript or jquery ?</p>
