try this code
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<script type="text/javascript">
function hideloader() {
var lblAmountInfordo = document.getElementById("<%=Error.ClientID %>");
var chktxtAmount = document.getElementById("<%=txtAmount.ClientID %>").value;
if (lblAmountInfordo != null) {
lblAmountInfordo.innerHTML = "";
}
if (chktxtAmount == "") {
if (chktxtAmount != null) {
document.getElementById("<%=txtAmount.ClientID %>").focus();
lblAmountInfordo.innerHTML = "Please Enter amount";
return false;
}
}
if (chktxtAmount < 5000) {
if (chktxtAmount != null) {
document.getElementById("<%=txtAmount.ClientID %>").focus();
lblAmountInfordo.innerHTML = "Amount Should be Minimum र 5000";
return false;
}
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:textbox id="txtAmount" onblur="javascript:hideloader();" runat="server" />
<br /><hr />
<asp:radiobutton id="rdbCre" runat="server" cssclass="normalText" text="Credit " >
AutoPostBack="false" />
<br />
<asp:label id="Error" text="" runat="server"></asp:label>
</asp:radiobutton></div>
</form>
</body>
Vote or Accept solution
If this will help you
thanks
</html>