html form action attribute always send the form data to the server side? -


according w3schools, definition , usage of form actionis 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.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo