Assignment # 4
This is a brief assignment to complete the Track that we did not get to in the class on Wednesday, 10/3.
- Complete the Track exercise in the Ajax slides.
- The Track asks you to write the servlet code that will perform Ajax validation of the drop-down in your project page when the submit button is clicked. If the “” option is selected in the Notice Preference drop-down, you should display an error message to the right of the drop-down.
Hints
- You will need to modify the HTML in your project file to include an element to display the error message to the right of the drop-down.
- Remember to set the Access-Control-Allow-Origin header in your servlet.