O'Reilly logo

Isomorphic Go by Kamesh Balasubramanian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required