最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

ACCESSKEY Attribute | accessKey Property

Internet Development Index

Sets or retrieves the accelerator key for the object.

Syntax

HTML<ELEMENT ACCESSKEY = sAccessKey... >
Scriptingobject.accessKey [ = sAccessKey ]

Possible Values

sAccessKeyString that specifies or receives a key on an alphanumeric keyboard.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

By default, the accessKey property sets focus to the object. The object receives focus when the user simultaneously presses the ALT key and the accelerator key assigned to an object. Some controls perform an action after receiving focus. For example, using accessKey on a input type=button causes the onclick event to fire. By comparison, applying the accessKey on a radio button causes the onclick event to fire and toggles the checked property, visibly selecting or deselecting the control.

As of Microsoft® Internet Explorer 5, some scoped elements do not implicitly support the accessKey property. Instead, they support the property by setting the TABINDEX attribute to any valid negative or positive integer.

Note  For elements that are not tab stops by default, such as a SPAN, the tabIndex property must be set on the element for the accessKey property to function.

Example

This example uses the label object and the accessKey property to set focus on a text box. The rich text support in the label object makes it possible to underline the designated accessKey.

<LABEL FOR="fp1" ACCESSKEY="1">#<SPAN style="text-decoration:underline;">1</SPAN>:
Press Alt+1 to set focus to textbox</LABEL>
<INPUT TYPE="text" NAME="T1" VALUE=text1 SIZE="20"
TABINDEX="1" ID="fp1">
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

This property is defined in HTML 4.0 Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

A, ACRONYM, ADDRESS, APPLET, AREA, B, BDO, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CUSTOM, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, hn, HR, I, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, ISINDEX, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OBJECT, OL, P, PLAINTEXT, PRE, Q, RT, RUBY, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP
封开县| 蒙阴县| 稷山县| 九龙坡区| 塘沽区| 华阴市| 泸州市| 华池县| 含山县| 绥阳县| 东宁县| 拉萨市| 昆明市| 博乐市| 崇阳县| 马关县| 新平| 枞阳县| 荆州市| 桂林市| 连城县| 丹阳市| 海安县| 呼伦贝尔市| 望都县| 连云港市| 霍邱县| 通化市| 德惠市| 区。| 布尔津县| 建始县| 库伦旗| 柞水县| 尼木县| 富阳市| 道真| 长春市| 潮安县| 镇安县| 平和县|