Menu
Hi there,
I’m currently working with forms that use javascript – toUppercase() function for the last name. However, there are exceptions I run into. A user may have last names such as:
McCormick
O’Sullivan
O’Shea
I need assistance creating javascript that automatically capitalizes certain letters such as last names beginning with “Mc” or “O'”
Could someone help me with this?
Thanks so much!