I have these functions:
function clear(txtvalue)
{
}
function EnableValue (txtvalue, rfvValue)
{
}
<asp:Button ID="btn1" runat="server" OnClick="btn1_Click" onclientClick =" return clear('"+txtValue.ClientID+'"); Text="Button" />
<asp:Button ID="btn2" runat="server" OnClick="Button1_Click" onclientClick ="return EnableValue ('"+txtValue.ClientID+'",'"+rfvValue.ClientID+'")"; Text="Button" />
I have two functions where I am trying to send an value from my .aspx page (button) to a JavaScript file.
I get an error telling server tag is not well formed.
What is the issue here?