Below code is not Working. Please give me any solution
Design
<script language="javascript" type="text/javascript">
function Sample() {
var i = document.getElementById('<%= txt.clientID %>').value;
alert(test());
}
</script>
<asp:TextBox ID="txt" runat="server" onkeypress="javascript:Sample()"></asp:TextBox>
Code:
Public Sub test()
Dim i As String = "WEL COME"
End Sub
...
Go to the complete details ...