A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.cdn.mozilla.net/en-US/docs/Web/API/HTMLTextAreaElement/dirName below:

HTMLTextAreaElement: dirName property - Web APIs

HTMLTextAreaElement: dirName property

Baseline 2023

Newly available

The dirName property of the HTMLTextAreaElement interface is the directionality of the element. It reflects the value of the <textarea> element's dirName attribute. This property can be retrieved or set.

The dirname attribute controls how the element's directionality is submitted. When included, the form control will submit with two name/value pairs: the first being the name and value of the <textarea>, and the second being the value of the dirname attribute as the name, with a value of ltr or rtl as set by the browser.

Value

A string. The direction of the element.

Examples
textareaElement.dirName = "rtl";
Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4