Convert string to proper case with javascript
- by MDCore
Is there a simple way to convert a string to proper case? E.g. john smith becomes John Smith. I'm not looking for something complicated like John Resig's solution, just (hopefully) some kind of one- or two-liner.