Mike's JavaScript and AJAX

Processing HTML Forms

When one of the following radio buttons is checked, the JavaScript software puts the word "CHECKED" under it with a green background. The software also blanks out all the other cells and makes them have red backgrounds.


4

Four

Cuatro

Shi


shikanji
           

When one of the following check boxes is checked, the JavaScript software puts the name of the food checked on under the checked box with a green background.

When the box is unchecked, the JavaScript software blanks out the box below it and returns the yellow background.


Beans

Milk

Rice

Beef

Shrimp

Chilli
           
Debug Menu:
Last radio button clicked on:
Last radio button value:
Last checkbox clicked on:
Last checkbox value:

Home