Access Key Highlighter jQuery Plugin Example

This page shows an example of using the Access Key Highlighter jQuery plugin with a typical form.

Hold down the Alt key to see the access keys on this form highlighted.

To use the plugin on a page simply:

  1. Add a reference to jquery-1.3.2.js

    <script type="text/javascript" src="script/jquery-1.3.2.js"></script>

  2. Add a reference to jquery.AccessKeyHighlighter.js

    <script type="text/javascript" src="script/jquery.AccessKeyHighlighter.js"></script>

  3. Add a link to AccessKeyHighlighter.css in the head

    <link type="text/css" rel="stylesheet" href="style/AccessKeyHighlighter.css" />

  4. Copy the popup-back.gif image to the same folder as the AccessKeyHighlighter.css stylesheet
  5. Add a call to $.highlightAccessKeys() in your page's onload script

    $(function() { $.highlightAccessKeys(); });

Personal Details
Contact Details
Home Address
This is a required field
indicates a required field