Input Month name attribute
Definition and Usage
name
Set or return the value of the name attribute of the month field.
The HTML name attribute is used to identify form data after form data is submitted to the server, or to reference form data on the client using JavaScript.
توجیہ:Only form elements that have a name attribute will pass their values when submitting a form.
See also:
HTML Reference Manual:HTML <input> name پرزنٹیج
Example
Example 1
Get the name of the month field:
var x = document.getElementById("myMonth").name;
Example 2
Change the name of the month field:
document.getElementById("myMonth").name = "newMonthName";
Syntax
Return name property:
monthObject.name
set name property:
monthObject.name = name
پرزنٹیج قیمت
قیمت | وصف |
---|---|
name | مہینوں میدان کا نام مقرر کرتا ہے |
تکنیکی تفصیلات
بازگشت قیمت: | قومی میدان کا نام کا نمائش کرنے والی لفظی قیمت |
---|
بھرپائی کا بندوبست
کروم | ایج | فائرفاکس | سافری | اوپرا |
---|---|---|---|---|
کروم | ایج | فائرفاکس | سافری | اوپرا |
پشتیبندگی | 10.0 | پشتیبندگی | پشتیبندگی | پشتیبندگی |
توجیہ:<input type="month"> علامت میں فائرفاکس میں کوئی تاریخ میدان/کلسن نہیں دکھاتا۔