Posted By

vagrantradio on 02/25/11


Tagged

upper


Versions (?)

Another toUpperCase/toLowerCase


 / Published in: jQuery
 

Input in text on form submit.

  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  

You need to login to post a comment.