html form action attribute always send the form data to the server side? -
according w3schools, definition , usage of form action
is described follows:
the action attribute specifies send form-data when form submitted.
my question is, form data send service side using action attribute ?
the point of form package bunch of data inputs (and selects etc) http request.
http requests sent server.
the action attribute tells browser url use that.
you can interfere (in sorts of ways, including preventing submission entirely) normal form behaviour using javascript.
html 5 introduces the formaction
attribute overriding form's action when specific submit button used.