If you want all input fields value in uppercase then call below jquery function to make all input fields value in uppercase .
This function by default make input field text in uppercase.
1 2 3 4 5 6 7 8 | $('input[type="text"]').on('input', function(evt) { var input = $(this); var start = input[0].selectionStart; $(this).val(function (_, val) { return val.toUpperCase(); }); input[0].selectionStart = input[0].selectionEnd = start; }); |
Blog Author - Pushkar Khosla,
Software Developer by Profession with 3.0 Yrs of Experience , through this blog i'am sharing my industrial Java Knowledge to entire world. For any question or query any one can comment below or mail me at pushkar.itsitm52@gmail.com.
This blog is all about to learn Core Java ,Interview Programs and Coding tricks to polish your Java Knowledge. If you like the content of this blog please share this with your friends.
Software Developer by Profession with 3.0 Yrs of Experience , through this blog i'am sharing my industrial Java Knowledge to entire world. For any question or query any one can comment below or mail me at pushkar.itsitm52@gmail.com.
This blog is all about to learn Core Java ,Interview Programs and Coding tricks to polish your Java Knowledge. If you like the content of this blog please share this with your friends.
Java I/O Tutorial


No comments:
Post a Comment