I am looking for this stackoverflow question to be answered in Javascript. So if my input is “word”, the function should return: word, Word, wOrd, WOrd, woRd, WoRd, etc.. here’s what i have so far but it only produces the permutations (doesn’t capitalize anything) Answer One option would be generating capitalization permutations via binary logic. As a simple example of
Tag: uppercase
Convert to uppercase as user types using javascript
I want to convert lowercase chars to uppercase as the user types using javascript. Any suggestions are welcome. I have tried the following: Answer