Web Development Articles

Page 112 of 801

HTML DOM Input DatetimeLocal disabled Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 157 Views

The HTML DOM Input DatetimeLocal disabled property sets or returns whether an Input DatetimeLocal field is enabled or disabled. When set to true, the field becomes uneditable and grayed out, preventing user interaction. When set to false, the field becomes interactive and allows users to select date and time values. Syntax Following is the syntax for returning the disabled property − inputDatetimeLocalObject.disabled Following is the syntax for setting the disabled property − inputDatetimeLocalObject.disabled = booleanValue Parameters The disabled property accepts the following boolean values − ...

Read More

HTML DOM Input DatetimeLocal form Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 180 Views

The HTML DOM Input DatetimeLocal form property returns a reference to the element that contains the input DatetimeLocal element. This property is read-only and provides access to the parent form object for further manipulation or validation. Syntax Following is the syntax to access the form property − inputDatetimeLocalObject.form Return Value The property returns a reference to the HTMLFormElement object that contains the datetime-local input. If the input is not within a form element, it returns null. Example Let us see an example of Input DatetimeLocal form property − ...

Read More

HTML DOM Input DatetimeLocal min Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 224 Views

The HTML DOM Input DatetimeLocal min property sets or returns the minimum value for a datetime-local input field. This property corresponds to the HTML min attribute and restricts users from selecting dates and times earlier than the specified minimum value. Syntax Following is the syntax for returning the min property − inputDatetimeLocalObject.min Following is the syntax for setting the min property − inputDatetimeLocalObject.min = "YYYY-MM-DDThh:mm:ss" Parameters The min property accepts a string value in the format YYYY-MM-DDThh:mm:ss representing the minimum allowable datetime − Component Description ...

Read More

HTML DOM Input DatetimeLocal name Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 132 Views

The HTML DOM Input DatetimeLocal name property gets or sets the value of the name attribute of an element. This property is essential for form submissions, as it determines the field name sent to the server when the form data is submitted. Syntax Following is the syntax to get the name property − inputDatetimeLocalObject.name Following is the syntax to set the name property − inputDatetimeLocalObject.name = "string" Return Value The name property returns a string representing the value of the name attribute. If no name attribute is set, ...

Read More

HTML DOM Input DatetimeLocal readOnly Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 243 Views

The HTML DOM Input DatetimeLocal readOnly property sets or returns whether a datetime-local input field can be modified by the user. When set to true, the input field becomes read-only and cannot be edited, though it remains focusable and its value can still be selected and copied. Syntax Following is the syntax for getting the readOnly property − inputDatetimeLocalObject.readOnly Following is the syntax for setting the readOnly property − inputDatetimeLocalObject.readOnly = booleanValue Parameters The booleanValue parameter accepts the following values − Value Description ...

Read More

HTML DOM Input DatetimeLocal step Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 401 Views

The HTML DOM Input DatetimeLocal step property sets or returns the value of the step attribute of a datetime-local input field. This property determines the legal number intervals for the seconds (or milliseconds) component of the datetime-local input. Syntax Following is the syntax for returning the step value − inputDatetimeLocalObject.step Following is the syntax for setting the step value − inputDatetimeLocalObject.step = number Parameters The number parameter can have the following values − Value Description seconds Valid values are numbers that ...

Read More

HTML DOM Input DatetimeLocal stepDown( ) Method

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 119 Views

The HTML DOM Input DatetimeLocal stepDown() method decreases the value of a datetime-local input field by a specified number of minutes. This method is useful for programmatically adjusting datetime values in incremental steps. Syntax Following is the syntax for the stepDown() method − inputDatetimeLocalObject.stepDown(number) Parameters The stepDown() method accepts one optional parameter − number − An integer that specifies how many minutes to decrease the value by. If omitted, the default value is 1. Return Value This method does not return any value. It directly modifies the value ...

Read More

HTML DOM Input DatetimeLocal stepUp( ) Method

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 135 Views

The HTML DOM Input DatetimeLocal stepUp() method increases the value of a datetime-local input field by a specified number of minutes. This method provides a programmatic way to increment the datetime value without user interaction. Syntax Following is the syntax for the stepUp() method − inputDatetimeLocalObject.stepUp(number) Parameters The stepUp() method accepts the following parameter − number − A numeric value representing the number of steps to increase. This parameter is optional and defaults to 1 if not specified. Each step represents one minute for datetime-local inputs. Return Value ...

Read More

HTML DOM Input DatetimeLocal type Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 174 Views

The HTML DOM Input DatetimeLocal type property is used to get or set the type attribute of an HTML input element that handles datetime-local values. This property allows you to programmatically read the current input type or change it to a different type at runtime. Syntax Following is the syntax for getting the type property − inputDatetimeLocalObject.type Following is the syntax for setting the type property − inputDatetimeLocalObject.type = stringValue Return Value The property returns a string representing the type of the input element. For datetime-local inputs, it returns ...

Read More

HTML DOM Input DatetimeLocal value Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 184 Views

The HTML DOM Input DatetimeLocal value property is used to get or set the value of a datetime-local input field. This property returns a string representing the current value, or allows you to programmatically change the input's value using JavaScript. The datetime-local input type allows users to select both a date and time without timezone information. The value is always stored in the format YYYY-MM-DDTHH:MM, where T separates the date and time components. Syntax Following is the syntax for getting the value − inputDatetimeLocalObject.value Following is the syntax for setting the value − ...

Read More
Showing 1111–1120 of 8,010 articles
« Prev 1 110 111 112 113 114 801 Next »
Advertisements