Another toUpperCase/toLowerCase


/ Published in: jQuery
Save to your folder(s)

Input in text on form submit.


Copy this code and paste it in your HTML
  1. jQuery('form').submit(function() {
  2.  
  3. jQuery('input#value').val(function(i, val) {
  4. return val.toUpperCase();
  5. return val.toLowerCase();
  6. });
  7.  
  8. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.