Input Range min Property

Definition and Usage

min Set or return the value of the min property of the slider control.

The HTML min property specifies the minimum value of the slider control.

Tip:The min property is usually used with max property used together to create a valid value range.

Tip:To set or return the value of the max property, use max property.

See also:

HTML Reference Manual:HTML <input> min وقتی

Example

Example 1

Get the minimum value allowed by the slider control:

var x = document.getElementById("myRange").min;

Try it yourself

Example 2

Change the minimum value:

document.getElementById("myRange").min = "50";

Try it yourself

Syntax

Return min property:

rangeObject.min

set min property:

rangeObject.min = نمبر

خصوصیت کا مقدار

مقدار موضع
نمبر اسکریپٹ کنٹرول میں سب سے کموالی کا وقتی مقرر کرتا ہے。

تکنیکی تفصیلات

بازگشت: اسٹرنگ کا وقتی، سب سے کموالی کا نمائش کرتا ہے。

براوزر سپورٹ

جداول میں شماراں نے پہلے اس وقتی کا پورا سپورٹ کرنے والا براوزر کی نسلی کا حوالہ دیا ہے。

کروم ایج فائرفاکس سافری آپریا
کروم ایج فائرفاکس سافری آپریا
پشتیبانی 10.0 پشتیبانی پشتیبانی پشتیبانی