Input Email value attribute
Definition and Usage
value
Sets or returns the value of the value property of the email field.
The HTML value attribute specifies the default value or the value entered by the user (or the value set by the script).
The value can be a single email address or a list of email addresses.
See also:
HTML Reference Manual:HTML <input> value অপারেট
Example
Example 1
Change the email address in the email field:
document.getElementById("myEmail").value = "steve@codew3c.com";
Example 2
Get the email address from the email field:
var x = document.getElementById("myEmail").value;
Example 3
Example to show the difference between defaultValue and value properties:
var x = document.getElementById("myEmail"); var defaultVal = x.defaultValue; var currentVal = x.value;
Syntax
Return value property:
emailObject.value
set value property:
emailObject.value = text
অপারেটর
মান | বর্ণনা |
---|---|
text | একটি বা একটি ইমেইল ঠিকানা বা ইমেইল ঠিকানার তালিকা নির্দিষ্ট করে। |
কারিগরি বিবরণ
ফলাফল: | শব্দচিহ্ন মানা বা কমা দ্বারা বিভক্ত শব্দচিহ্ন তালিকা, যা বৈধ ইমেইল ঠিকানা হিসাবে ব্যবহৃত হয়。 |
---|
ব্রাউজার সমর্থন
টেবিলের সংখ্যা প্রথম সংস্করণটি যা এই অপারেটরের সম্পূর্ণভাবে সমর্থন করে।
চ্রোম | এজ | ফায়ারফক্স | স্যাফারি | ওপেরা |
---|---|---|---|---|
চ্রোম | এজ | ফায়ারফক্স | স্যাফারি | ওপেরা |
সমর্থন | 10.0 | সমর্থন | সমর্থন | সমর্থন |