I can not call javascript in acsx page
<p>I want to call javascript in acsx page in asp.net.i am using one if condition and call up javascript.But it is not working?following is my code</p>

<pre><code>if (IsPostBack)
{
    if (diff &lt;= 0)
    {
        Page.ClientScript.RegisterStartupScript(this.GetType(), "onload", "display();", true);
    }
}
</code></pre>

<p>Its not working</p>

<p>I tried Response.write also ,its not working</p>

<p>anybody can tell me the solution for this</p>
