-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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
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
Asked: 2013-12-03 08:34:50 +0800
Seen: 19 times
Last updated: Dec 05 '13