function ValidateNumbers()
{
var SpecialCharachter = /[^0-9,\-]/;
var txttagPages = document.getElementById("<%= txttagpages.ClientID %>").value;
if (SpecialCharachter.test(txttagPages.trim())) {
message = 'txt selection contain extra Characters remove it and try !';
}
}
{
var SpecialCharachter = /[^0-9,\-]/;
var txttagPages = document.getElementById("<%= txttagpages.ClientID %>").value;
if (SpecialCharachter.test(txttagPages.trim())) {
message = 'txt selection contain extra Characters remove it and try !';
}
}
No comments:
Post a Comment