Here are the examples for Chapter 12, which looks at practical JavaScript.
ch12_eg01.html | Single function validation |
ch12_eg02.html | Reusable function validation |
ch12_eg03.html | Replacing content in a textarea |
ch12_eg04.html | Replacing content with a Regular Expression |
ch12_eg05.html | Replacing multiple items with a Regular Expression |
ch12_eg06.html | Testing characters with a Regular Expression |
ch12_eg07.html | Checking an option from a select box has been selected |
ch12_eg08.html | Checking a radio button has been selected |
ch12_eg09.html | Checking that a checkbox has been selected |
ch12_eg10.html | Disabling a submit button until a checkbox has been checked |
ch12_eg11.html | Passing focus to the first form element |
ch12_eg12.html | Auto tabbing between fields |
ch12_eg13.html | Enabling a text box when a user selects an option |
ch12_eg14.html | Case conversion |
ch12_eg15.html | Stripping whitespace |
ch12_eg16.html | Selecting all of the text in a text area |
ch12_eg17.html | Check all and uncheck all |
Try it out | An email form |
ch12_eg18.html | Scriptaculous animated effects |
ch12_eg19.html | Scriptaculous drag and drop sortable list |
ch12_eg20.html | Creating a lightbox |
ch12_eg21.html | Creating modal window |
ch12_eg22.html | MochiKit sortable tables |
ch12_eg23.html | YUI Calendar |
ch12_eg24.html | YUI Autocomplete |
Exercise 1 |