Category - Regular Expressions
Results 6 - 10 of 57
29 Jan 2019 29 Jan 2019 0 Comments  910 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Numeric validation i.e. allow only Numbers (Digits) using OnKeyPress event in jQuery.

When User types in the TextBox, the text in the TextBox will be validated using OnKeyPress event handler in jQuery and if the inputted character is not Numeric i.e. Numbers (Digits), the error message will be displayed next to the TextBox.
29 Jan 2019 29 Jan 2019 0 Comments  502 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Numeric validation i.e. allow only Numbers (Digits) using OnKeyPress event in JavaScript.

When User types in the TextBox, the text in the TextBox will be validated using OnKeyPress event handler in JavaScript and if the inputted character is not Numeric i.e. Number (Digit), the error message will be displayed next to the TextBox.
29 Jan 2019 29 Jan 2019 0 Comments  1161 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform AlphaNumeric validation i.e. allow only Alphabets and Numbers using OnKeyPress event in jQuery.

When User types in the TextBox, the text in the TextBox will be validated using OnKeyPress event handler in jQuery and if the inputted character is not AlphaNumeric i.e. Alphabet or Number, the error message will be displayed next to the TextBox.
29 Jan 2019 29 Jan 2019 0 Comments  795 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform AlphaNumeric validation i.e. allow only Alphabets and Numbers using OnKeyPress event in JavaScript.

When User types in the TextBox, the text in the TextBox will be validated using OnKeyPress event handler in JavaScript and if the inputted character is not AlphaNumeric i.e. Alphabet or Number, the error message will be displayed next to the TextBox.
29 Jan 2019 29 Jan 2019 0 Comments  830 Views
Here Mudassar Ahmed Khan has explained with an example, how to allow only AlphaNumeric, Dot (Period) and Underscore characters in Username using JavaScript.

When the Submit Button is clicked, the Username in the TextBox will be validated using JavaScript and Regular Expression (Regex) and if the Username is invalid, the error message will be displayed next to the TextBox using JavaScript.
Results 6 - 10 of 57