In my javascript book, there is this code:
form.action="echo.pl"
form.method="POST"
The book describes these two lines of code as
statements to specify a submission method and a server-side script to process the form.
But I have no idea what they are talking about. This code is part of a larger code that first assigns form values, then runs the server-side script response echo the submitted name=value pairs assigned by the script. Since there is no proper explanation, I am unable to understand what it means.