Input Week min Attribute
Definition and Usage
min
Set or return the value of the min attribute of the week field.
HTML min attribute specifies the minimum value of the week field (week and year).
Tip:The min attribute is usually with max attribute used together to create a series of valid values.
Tip:To set or return the value of the max attribute, use max attribute.
See also:
HTML Reference Manual:HTML <input> min বৈশিষ্ট্য
Example
Example 1
Get the minimum allowed week and year for the week field:
var x = document.getElementById("myWeek").min;
Example 2
Change the minimum allowed week and year:
document.getElementById("myWeek").min = "2023-W05";
Syntax
Return min attribute:
weekObject.min
Set min attribute:
weekObject.min = YYYY-WWW
Attribute Value
Value | Description |
---|---|
YYYY-WWW |
অনুমতির ন্যায্য সর্বনিম্ন সপ্তাহ ও ปี কম্পোনেন্ট বিবরণ:
উদাহরণ: 2023-W36 |
প্রযুক্তিগত বিবরণ
ফলাফল: | শব্দমালা মান, যা অনুমতি প্রাপ্ত সবচেয়ে কম সপ্তাহ ও বছরকে নির্দেশ করে |
---|
ব্রাউজার সমর্থন
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
সমর্থন | 10.0 | সমর্থন | সমর্থন | সমর্থন |
মন্তব্য:<input type="week"> উপাদানটি Firefox-এ কোনও তারিখ ক্ষেত্র/ক্যালেন্ডার দেখায় না。