Open main menu

CDOT Wiki β

Changes

BTC640/ProcessingPrereq

95 bytes added, 10:46, 19 January 2012
Lab
Write a JavaScript function that will be executed when the user clicks the submit button. That function should create a JSON object from all the fields (filled-in or not) on the page; then use JSON.stringify() to print your variable just below the form (do not use an alert).
 
This is a sketch to quickly give you an idea of what it should look like:
 
[[Image:lab6.png]]