AmitDiwan has Published 11367 Articles

HTML DOM Input Search form Property

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 09:11:45

82 Views

The HTML DOM Input Search form property is used for returning the form reference that contains the given input search field. If the search field is outside the form then it will simply return NULL. This property is read-only.SyntaxFollowing is the syntax for input search form property −searchObject.formExampleLet us look ... Read More

HTML DOM Input Search autofocus Property

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 08:50:21

80 Views

The HTML DOM Input Search autofocus property is associated with the HTML element’s autofocus attribute. This property is used for setting or returning if the input search field should automatically be focused when the page loads or not.SyntaxFollowing is the syntax for −Setting the autofocus property −searchObject.autofocus = true|falseHere, ... Read More

HTML DOM Input Reset type property

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 08:38:05

98 Views

The HTML DOM Input Reset type property is associated with the input element having its type=”reset”. It will always return reset for the input reset element.SyntaxFollowing is the syntax for reset type property −resetObject.typeExampleLet us look at an example for the reset type property − Input reset type ... Read More

HTML DOM Input Reset object

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 08:27:30

129 Views

The HTML DOM Input Reset object is associated with the element with type “reset”. We can create and access an input element with type reset by using the createElement() and getElementById() method respectively.PropertiesFollowing are the properties for the Input reset object −PropertyDescriptionautofocusTo set or return if the reset button ... Read More

HTML DOM Input Reset name property

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 08:24:18

103 Views

The HTML DOM Input Reset name property is used for setting or returning the name attribute of a reset button. The name attribute helps in identifying the form data after it has been submitted to the server.SyntaxFollowing is the syntax for −Setting the name property −resetObject.name = nameHere, name is ... Read More

HTML DOM Form method Property

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 08:19:42

109 Views

The HTML DOM form method property is associated with the method attribute of a form element. This property is used for specifying how the form data should be sent to the server. The address to send data is specified by the action attribute. This property sets or gets the form ... Read More

HTML DOM Form length Property

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 08:16:31

286 Views

The HTML DOM Form length property is used for returning the number of elements that are present inside the form. It is a read-only property.SyntaxFollowing is the syntax of the Form length property −ormObject.lengthExampleLet us look at an example of the Form length property −    form{ ... Read More

HTML DOM Form action Property

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 08:04:53

224 Views

The HTML DOM Form action property is associated with the action attribute of the form element. The form action property specifies the web page to send the form data after being submitted by the user. This attribute is called after the form has been submitted to specify where to submit ... Read More

HTML DOM Form acceptCharset Property

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 07:59:20

59 Views

The HTML DOM Form acceptCharset property is associated with the accept-Charset attribute of the element. This property is used for setting and getting the accept-Charset attribute value of a form. It returns the character encoding in the string type.If accept-Charset value is not specified it will return UNKNOWN which ... Read More

HTML DOM Figure object

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 07:40:08

88 Views

The HTML DOM Figure object is used for reperesenting the HTML element. We can dynamically create and access a figure element using the figure object.SyntaxFollowing is the syntax for creating a Figure object −var p = document.createElement("FIGURE");ExampleFollowing is how you can create Figure object −    function ... Read More

Advertisements