aboutsummaryrefslogtreecommitdiff
path: root/files/ja/archive/mozilla/xul/attribute/checked/index.html
blob: b909267eb8820f78737e7c48b6569f7eac7c8f06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
title: checked
slug: Archive/Mozilla/XUL/Attribute/checked
tags:
  - XUL Attributes
  - XUL Reference
translation_of: Archive/Mozilla/XUL/Attribute/checked
---
<div class="noinclude">
 <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/ja/docs/XUL/XUL_Reference">XUL リファレンス HOME</a></span></div>
<dl>
 <dt>
  <code id="a-checked"><a href="https://developer.mozilla.org/ja/docs/Mozilla/Tech/XUL/Attribute/checked">checked</a></code></dt>
 <dd>
  型: <em>論理型</em></dd>
 <dd>
  要素にチェックが入っているかどうかを示します。</dd>
 <dd>
  この属性が設定されているかどうかを確認するには、<code>getAttribute()</code> ではなく <code>hasAttribute()</code> を使用してください。</dd>
</dl>
<p>button 要素で、この属性による効果を得るには <code><code id="a-type"><a href="https://developer.mozilla.org/ja/docs/Mozilla/Tech/XUL/Attribute/type">type</a></code></code> 属性に checkbox か radio を設定しなければなりません。</p>