Posted By

vagrantradio on 02/16/10


Tagged

jquery convert uppercase lowercase tolowercase


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

alejandrosuch
nicktheandroid
matt0309


JQUERY TO LOWERCASE / UPPERCASE


 / Published in: jQuery
 

Quick and dirty lowercase / uppercase conversion.

  1. //Lowercase
  2. $('input#email').val($(this).val().toLowerCase());
  3.  
  4. //Uppercase
  5. $('input#email').val($(this).val().toUpperCase());

Report this snippet  

You need to login to post a comment.