function clrCtrl() { document.getElementById('ctl00_ContentPlaceHolder1_TextBox1').value = ""; document.getElementById('ctl00_ContentPlaceHolder1_TextBox2').value = ""; } <asp:Button ID="ClearButton" runat="server" Style="position: static" Text="Button" OnClientClick="clrCtrl()" />
<input type="radio" onclick="javascript:clearall(this)" runat="server" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)