Input Submit disabled attribute
Definition and Usage
disabled
Set or return whether the submit button should be disabled.
Disabled elements are not accessible and cannot be clicked. By default, disabled elements are usually displayed in gray in the browser.
See also:
HTML Reference Manual:HTML <input> disabled এট্রিবিউট
Example
Example 1
Disable the submit button:
document.getElementById("mySubmit").disabled = true;
Example 2
Check if the submit button is disabled:
var x = document.getElementById("mySubmit").disabled;
Syntax
Return disabled attribute:
submitObject.disabled
set disabled attribute:
submitObject.disabled = true|false
এট্রিবিউট মান
মান | বর্ণনা |
---|---|
true|false |
সমর্থন বাটনটিকে নিষ্ক্রিয় করা উচিত কি না নির্ধারণ করে
|
প্রযুক্তিগত বিবরণ
ফিরিয়ে দেওয়া মান: | বুল মান, যদি সমর্থন বাটন নিষ্ক্রিয় থাকে, তবে ফিরিয়ে দেওয়া true ;অন্যথায় ফিরিয়ে দেওয়া false 。 |
---|
ব্রাউজার সমর্থন
চ্রোম | এজ | ফায়ারফক্স | স্যাফারি | অপেরা |
---|---|---|---|---|
চ্রোম | এজ | ফায়ারফক্স | স্যাফারি | অপেরা |
সমর্থন | সমর্থন | সমর্থন | সমর্থন | সমর্থন |