First page Back Continue Last page Image
- function submitIt(form) {
- alert("You have made it to this control") // make sure they enter a color
- colorChoice = form.color.selectedIndex
- if (form.color.options[colorChoice].value == "") {
- alert("You must pick a color")
- return false
- }
- <td colspan=4>
- <select name="colors">
- <option value="" selected>Choose a color
- <option value="red">Red
- <option value="green">Green
- <option value="blue">Blue
- </select>
- </td>
- </tr>
- The Part Of The JavaScript With The Error. . .OR
- The Part Of The HTML Code With The Error