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 with name attributes will pass their values when submitting the 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;

Try it yourself

Example 2

Change the name of the month field:

document.getElementById("myMonth").name = "newMonthName";

Try it yourself

Syntax

Return name attribute:

monthObject.name

set name attribute:

monthObject.name = name

অ্যাট্রিবিউট মান

মান বর্ণনা
name মাস ক্ষেত্রের নাম নির্দেশ করে

প্রযুক্তিগত বিবরণ

ফলাফল: শব্দমালা মান, মাস ক্ষেত্রের নাম নির্দেশ করে

ব্রাউজার সমর্থন

চ্রোম এজ ফায়ারফক্স স্যাফারি ওপেরা
চ্রোম এজ ফায়ারফক্স স্যাফারি ওপেরা
সমর্থন 10.0 সমর্থন সমর্থন সমর্থন

প্রত্যাহার:<input type="month"> ইলেমেন্টটি ফায়ারফক্সে কোনও তারিখ ক্ষেত্র/ক্যালেন্ডার দেখা যায় না。