asp.net call javascript function from code behind
<p>I have to call the javascript from code behind.</p>

<pre><code>    &lt;script&gt;
    $(document).ready(function () {
        $(document).click(function () {
            test();
        });
    });
     function test() {
        \\ blah
      }
</code></pre>

<p>The question is that there is no function name in the first part.
Then my question is how to call this javascript from code behind? </p>

<p>Thanks.</p>
