Invoking an objects accesskey functionality from javascript code.

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

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"
             name="T1_DOC_HDRundo"                     id="T1_DOC_HDRundo"
              <img src="../Images/DocUndo.gif"

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.


Site Timeline