KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
OK, so let's say I have this: $(function() { $('#good_evening').keyup(function () { switch($(this).val()) { case 'Test': // DO STUFF HERE break; } }); }); ... this would only run if you typed "Test" and not "test" or "TEST". How do I make it case-insensitive for JavaScript functions?
Tags (comma-separated)
Save Edits
Cancel