0

No response when press "Enter" on a upload button

asked 2013-12-03 08:34:50 +0800

sk1986 gravatar image sk1986
1

Hi all, I am using ZK 6.5.2 to upload file with a button.It work well when click on the button, but no response when I focus on the button and press "enter". Any ideas?

<button id="file" upload="true,maxsize=10240" label="Browse" onupload="@command('upload', media=event.media)"/>

thanks

sam

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-12-05 06:31:38 +0800

chillworld gravatar image chillworld flag of Belgium
5337 4 9
https://github.com/chillw...

This only works only when your button is selected. Here is more detail and also how to implement other keys.

http://books.zkoss.org/wiki/ZKDeveloper'sReference/UIPatterns/KeystrokeHandling

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-12-03 08:34:50 +0800

Seen: 19 times

Last updated: Dec 05 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More