Validating HTML form elements

First Name: * Last Name:

Note: Onclick of "Submit" button with the empty text boxes gives the alert.