
Submitting Forms to Different Pages
An HTML form usually looks like this: where you have to specify the action within the Form tag, thus limiting a “post” method to only one destination. However, the JavaScript form object has an “action” property that lets you dynamically change the destination of a “post” method. This is helpful,