Grokking HTML
0% completed
Form Action Variations
One form can send its data to two different addresses, and HTML needs no JavaScript to do it. A form's action and method are only its defaults. Each submit button can tell the server which button was pressed, and each one can also replace the form's address, method and other settings for its own submission. This lesson shows those variations on a second form for the photo club: the page where a member edits a photo they have already uploaded.
When action is missing
The action attribute holds the address that receives the data. When a form has no `action
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%