Java Reference
In-Depth Information
I Need a Hero!
Now that our example form is complete, have a go at filling it in and pressing the Submit
button. You should see something similar to the screenshot in Figure 8.6 .
Figure 8.6. Hero JSON
We've successfully created a JavaScript object from form inputs that could then be used in
the rest of our program. In this example we've used the JSON.stringify() method to
Search WWH ::




Custom Search