This question is locked. New answers and comments are not allowed.
I tried to use jquery.validation with NumericTextBox by setting code shown below:
NumericTextBox1 is NumericTextBox.
TextBox1 is simple textbox.
So the validation work well with TextBox1 only but not work with NumericTextBox1.
I tried to change from "NumericTextBox1" to "NumericTextBox1-input-text"
And from "NumbericTextBox1" to "NumericTextBox1-input", Both are not work.
Please advice. Thank you much.
P.S. using
jquery 1.4.4
jquery.validation 1.9
telerik 2010.3.1110.235
$.validator.addMethod("ftvalidate", function(value, element) { var currentId = $(element).attr('id'); var splitcurrentId = currentId.split("_"); return false; }, '*'); $("#MyForm").validate({ debug: true, submitHandler: function (form) { form.submit(); }, rules: { NumericTextBox1 : "ftvalidate", TextBox1 : "ftvalidate" }, });NumericTextBox1 is NumericTextBox.
TextBox1 is simple textbox.
So the validation work well with TextBox1 only but not work with NumericTextBox1.
I tried to change from "NumericTextBox1" to "NumericTextBox1-input-text"
And from "NumbericTextBox1" to "NumericTextBox1-input", Both are not work.
Please advice. Thank you much.
P.S. using
jquery 1.4.4
jquery.validation 1.9
telerik 2010.3.1110.235