Input Time name Attribute

Definition and Usage

name Set or return the value of the name attribute of the time 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 the form.

See also:

HTML Reference Manual:HTML <input> name অপেশন

Example

Example 1

Get the name of the time field:

var x = document.getElementById("myTime").name;

Try it yourself

Example 2

Change the name of the time field:

document.getElementById("myTime").name = "newTimeName";

Try it yourself

Syntax

return name attribute:

timeObject.name

set name attribute:

timeObject.name = name

অপেশন

মান বর্ণনা
name সময় ফিল্ডের নাম নির্ধারণ

টেকনিক্যাল বিবরণ

ফলাফল: স্ট্রিং মান, যা সময় ফিল্ডের নাম দেয়

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

সারণীতে নম্বরগুলি এই অপেশনটির প্রথম পূর্ণাঙ্গভাবে সমর্থনকারী ব্রাউজারের সংস্করণ উল্লেখ করা হয়

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

মনোযোগ<input type="time"> ইলেকট্রন নায়কটি ফায়ারফক্সে কোনও সময় ফিল্ড হিসাবে প্রদর্শিত হয় না。