Transforming text to lowercase using an XHR post

Now we will create a simple lowercase text transformer. Any text the user enters will be converted to lowercase. The user interface for our lowercase text transformer solution is depicted in Figure 3.15. In the image, the input text is GopherJS. When the user clicks on the Lowercase It! button, the text in the text field will be transformed to its lowercase equivalent, which is gopherjs:

Figure 3.15: The lowercase Text Transformer example

In fact, we can apply the text transformation on the client side; however, it would be more interesting to see an example where we send the input text over ...

Get Isomorphic Go now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.