Link disabled attribute

Definition and Usage

disabled Sets or returns whether the linked document is disabled.

This attribute is currently used only for stylesheet links.

When set to true, the linked stylesheet will have no effect.

See also:

HTML Reference Manual:HTML <link> ট্যাগ

Example

Example 1

Disable the linked document:

document.getElementById("myLink").disabled = true;

Try it yourself

Example 2

Check if the linked document is disabled:

var x = document.getElementById("myLink").disabled;

Try it yourself

Syntax

Return disabled attribute:

linkObject.disabled

set disabled attribute:

linkObject.disabled = true|false

প্রতিভাত্ত্ব

মান বর্ণনা
true|false

সংযুক্ত ডকুমেন্টটি নিষ্ক্রিয় কিনা নিশ্চিত করে

  • true - সংযুক্ত ডকুমেন্টটি নিষ্ক্রিয়
  • false - সংযুক্ত ডকুমেন্টটি নিষ্ক্রিয় নয়

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

ফলাফল: বুল মান, যদি সংযুক্ত ডকুমেন্টটি নিষ্ক্রিয় করা হয়, তবে true ফিরাবে; না তবে false ফিরাবে。

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

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