Invoking accesskey functionality from javascript.

D

douha

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top