Creation of form
It means that the user can participate by clicking on the buttons.
If you want to make a form, then you need to know all the attributes a form contains.
Method - the technique through which data is referred to the main server. This will any "GET" or "POST" reliant on the server-side conformation. Action - the specific URL of the CGI characters to which the statistics entered from the operator will be lead. It is also conceivable to operate through mailto: which is to have the figures sent to an email address.
On submit - an elective function to call, or aligned script to perform before the procedure data is succumbed to the network. This can be valuable for authenticating user contribution.
Retrieving Items in a Form
If you are using a form, you must know that it is just like a container which will assist you in storing objects.
All you need to do is to use these object inside your forms. There are many ways through which you can enter and use these things in your forms.
For instance, you can use an element in a form by using the property of an object. An array is used to store all objects in a form. If you create a form with a name of ABCform then you can do it the following way:
<form action="" name="ABCform"> <input type="TEXT" name="Name" id="Name" value="" /> </form> We can access this object as follows: document.ABCForm.elements;
This is the simplest form of accessing a form.
You can learn it easily by practicing it.