• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1481
  • Last Modified:

change text to all caps / all lowecase



How can I convert text to be all caps or all lowercase.

Thx

Shri
0
ShriramS
Asked:
ShriramS
1 Solution
 
punkerCommented:
Use string.toLowerCase() and string.toUpperCase() .
0
 
dejthorCommented:
Watch case on function calls. Javascript is case sensitive.
0
 
knightEknightCommented:
punker is correct, here is a sample:

<SCRIPT language='javascript'>
 var mystr = "Hi There";
 mystr = mystr.toUpperCase();
 alert(mystr);
</script>
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now