You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Vijay Pawar <vs...@orgltd.com> on 2003/05/30 07:45:54 UTC

accesskey attribute of not working

Hi all,

I am using the following code to make a html button.

<html:button property="mybutton" value="click me" accesskey="a" />

As per the struts-html taglib guide, accesskey attribute is used to
specify a keyboard character to immediately move focus to this element.

I have only one button in my form. Can anyone tell me where is the problem.

Vijay

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: accesskey attribute of not working

Posted by Jason Lea <ja...@kumachan.net.nz>.
Vijay Pawar wrote:
> Hi all,
> 
> I am using the following code to make a html button.
> 
> <html:button property="mybutton" value="click me" accesskey="a" />
> 
> As per the struts-html taglib guide, accesskey attribute is used to
> specify a keyboard character to immediately move focus to this element.
> 
> I have only one button in my form. Can anyone tell me where is the problem.
> 
> Vijay

You have to use Alt-a to activate that button.

-- 
Jason Lea


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org