Click here to get back home

Invoking an objects accesskey functionality from javascript code.

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Invoking an objects accesskey functionality from javascript code. douha 12-15-2006
Posted by douha on December 15, 2006, 7:13 pm
Please log in for more thread options


Hi all,

I have been assigned to write functions in javascript that will invoke
an objects accesskey.

For example, I have the following html code:

<td class="BtnActn">
<div id="DocUndo" class="DocLevelActn">
<a vsds="T1_DOC_HDR"
vsaction="undo"
name="T1_DOC_HDRundo"                                         id="T1_DOC_HDRundo"
        title="Undo"
        accesskey="6">
<img src="../Images/DocUndo.gif"
         alt="Undo"
name="DocUndoImg"
id="DocUndoImg">
</a>
</div>
</td>

I need to invoke the access key for this button and have it perform the
same as if a user pressed the alt-6 key combination.

Is this possible?

Thanks much for any help that is offered.

Doug


Similar ThreadsPosted
invoking ie/windows file save dialog July 15, 2004, 4:47 pm
Using Targets with Objects November 24, 2005, 4:01 am
importing html objects July 7, 2004, 9:36 pm
Centering floating objects September 11, 2004, 10:27 pm
Issue with flash objects hover menu as a link March 31, 2008, 9:47 am
highlighting an accesskey April 16, 2008, 8:54 am
How can one put an accesskey on a Select (Drop down box) November 18, 2004, 11:49 am
xhtml - accesskey for select not allowed? December 11, 2005, 11:00 am
Back button functionality May 20, 2005, 7:27 am
Bug in IE with utf-8 and JavaScript April 11, 2006, 5:26 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap