How to send an value from .aspx page to JavaScript file?
<p>I have these functions:</p>

<pre><code>function clear(txtvalue)
{

}

function EnableValue (txtvalue, rfvValue)
{

}

    &lt;asp:Button ID="btn1" runat="server" OnClick="btn1_Click" onclientClick =" return clear('"+txtValue.ClientID+'"); Text="Button" /&gt;

&lt;asp:Button ID="btn2" runat="server" OnClick="Button1_Click" onclientClick ="return EnableValue ('"+txtValue.ClientID+'",'"+rfvValue.ClientID+'")"; Text="Button" /&gt;
</code></pre>

<p>I have two functions where I am trying to send an value from my .aspx page (button) 
to a JavaScript file.</p>

<p>I get an error telling server tag is not well formed.</p>

<p>What is the issue here?</p>
