Hello All,

I am defining a ClientScript with ASP, I want to access the variable defined inside the script with a JavaScript script defined on the client side, here is my code:
HTML Code:
<script runat="server">
    protected void Page_Load(object sender, EventArgs e)
        string myScript = @"var _variable = 5;";
         "MyScript", myScript, true);

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Untitled Page</title>
    <script type="text/javascript">
    <form id="form1" runat="server">
What am i doing wrong?

Thanks in advance.