OK, so let\'s say I have this:
$(function() { $(\'#good_evening\').keyup(function () { switch($(this).val()) { case \'Test\': // DO STUFF HER
Why not lowercase the value, and check against lowercase inside your switch statement?
$(function() { $('#good_evening').keyup(function () { switch($(this).val().toLowerCase()) { case 'test': // DO STUFF HERE break; } }); });