Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 10: Utilizing Forms with JavaScript!

Instruction

On the Client Side: Defining How to Send the Data

The <form> element defines how the data will be sent. All of its attributes are designed to let you configure the request to be sent when a user hits a submit button. The two most important attributes are action and method.


The Action Attribute

The action attribute defines where the data gets sent. Its value must be a valid relative or absolute URL. If this attribute...