AmitDiwan has Published 10740 Articles

HTML DOM Input Search autofocus Property

AmitDiwan

AmitDiwan

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

151 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

200 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

185 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

179 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

229 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

445 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

373 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

141 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

166 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

HTML DOM Fieldset form property

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 06:57:00

197 Views

The HTML DOM Fieldset form property returns the form reference of the type form object. This is for the element that is present inside that given form. It is a read-only property. If the specified fieldset isn’t present inside the form then null is returnedSyntaxFollowing is the syntax for ... Read More

Advertisements