I have a textbox and I want to check if it contains only numbers (with no space and Special Character) onblur I don;t know how to check the Regex alert should Comes if Regex fails
<asp:TextBox ID="txtFromDate" runat="server" placeholder="Contract ID" onblur="checkValue(this.value)">
//JS CODE
function checkValue(this) {
//regex ^[0-9+]*$
}