15.02.2013 Views

JavaScript Examples Bible - UserWorks Technologies

JavaScript Examples Bible - UserWorks Technologies

JavaScript Examples Bible - UserWorks Technologies

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4<br />

<strong>JavaScript</strong> <strong>Examples</strong> <strong>Bible</strong>: The Essential Companion to <strong>JavaScript</strong> <strong>Bible</strong><br />

Note<br />

Listing 15-1 (continued)<br />

<br />

Assign an accessKey value to the Button below and press Return:<br />

<br />

<br />

Assign an accessKey value to the Text Box below and press Return:<br />

<br />

<br />

Assign an accessKey value to the Table below (IE5.5 only) and press Return:<br />

<br />

<br />

<br />

Then press Alt (Windows) or Control (Mac) + the key.<br />

<br />

Size the browser window to view nothing lower than this line.<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

QuantityDescriptionPrice<br />

<br />

<br />

<br />

4Primary Widget$14.96<br />

<br />

<br />

10Secondary Widget$114.96<br />

<br />

<br />

<br />

<br />

<br />

elementObject.accessKey<br />

In IE5, the keyboard combination may bring focus to the input field. This anomalous<br />

behavior does not affect the normal script setting of the accessKey property.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!