Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Ampersand and shortcuts
Mon, Feb 11 2013 9:20 AMPermanent Link

Matthew Jones

Is it possible, on a web page, to use the & character to create a shortcut? Thus if
I had a radio button with the caption '&Hello' then the Alt-H would select it? If
so, how can I do this in EWB? It doesn't seem to want to allow it with plain
appending.

/Matthew Jones/
Tue, Feb 12 2013 11:11 PMPermanent Link

Raul

Team Elevate Team Elevate

On 2/11/2013 9:20 AM, (Matthew Jones) wrote:
> Is it possible, on a web page, to use the & character to create a shortcut? Thus if

Don't believe so - happy to be corrected though.

The issue is browser specific also - Alt-H is technically Help menu in
IE itself and might not be passed into EWB app at javascript level.

You could try to capture the keypress on form level and then call
appropriate handler but that would mean handling all yourself. have not
tried to see if this works so just an idea.

Raul
Wed, Feb 13 2013 5:04 AMPermanent Link

Matthew Jones

> You could try to capture the keypress on form level

A good idea. Since I know things like Trello can handle keys, it should work. Plus
the keys I'm interested in are actually 1-9 & S.
Will report back.

/Matthew Jones/
Image