[Javascript] AccessKey, FireFox and Javascript

Nagendra Oleti ovsnk-reachme at yahoo.com
Wed Jan 9 06:02:39 CST 2008


Hi,

I am trying to assign accesskey to a button using javascript dynamically using the following code

document.getElementById("testpage1").accessKey = "X";
<input type="button" id="testpage1" value="CLICK" onclick="alert('dfdf')" />

This doesn't seem to work in FireFox2. Any idea this api is supported?

TIA
Nagendra Oleti

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20080109/a92499dd/attachment.htm>


More information about the Javascript mailing list