Hi mcm,
Thank you very much for your help, it seems alot more clearer to me now....i have one more question if thats ok, i have comma's in my interger so i need to strip those out before the parseint
Code:
"validnum": function () { var noComaVal = (this.value).replace(/,/g, ''); var val = parseInt(noComaVal); return val >= 7500 && val <= 100000; }
do i use (this.value) to read the value from my <asp:TextBox> string
The above code doesnt seem to work,
here is my asp:text box control
<asp:TextBoxID="txtBAmountCover"Validate="form"
validnum="<p><b>Invalid Value.</b><br/> Please ensure your value is between <br/>7,500 and 100, 000.</p>"
require="<p><b>Required Field Missing</b><br/>Please enter your desired Loan Amount.</p>">
</asp:TextBox>
Thank again in advance, i am c# developer and new to jquery
regards
shy9010