this is a property of the document object it


This is a property of the document object. It corresponds to an HTML input form constructed from the FORM tag. A form can be submitted through calling the JavaScript submit method or clicking the form SUBMIT button. Some form properties are following:

• Action - It specifies the URL & CGI script file name the form is to be submitted to. It lets reading or altering the ACTION attribute of the HTML FORM tag.

• Button - An object representing GUI control.

• Elements - An array of fields & elements in the form.

• Encoding - It is a read or write string. It indicates the encoding method the form data is encoded in, before submitted to the server. It corresponds to ENCTYPE attribute of the FORM tag. The default is following "application/x-www-form- urlencoded". Other encoding comprises text/plain or multipart/form- data.

• Length - The number of fields in the elements array that means the length of the elements array.

•  Method - It is a read or write string. It has the value "POST" or "GET".

•  Name -  It is the form name. Corresponds to the FORM Name attribute.

•  Password - It is an object representing a password field.

•  Radio - It is an object representing a radio button field.

•  Reset - It is an object representing a reset button.

•  Select - It is an object representing a selection list.

•  Submit - It is an object representing a submit button.

•  Target - The name of window or frame to which the form submission response is sent through the server.

Request for Solution File

Ask an Expert for Answer!!
PHP Web Programming: this is a property of the document object it
Reference No:- TGS0266969

Expected delivery within 24 Hours