File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
problem in applying onclick and ondblclick for a same element
Joined: Aug 22, 2009
Jan 13, 2010 04:58:36
Is there anyway to apply the onclick and ondblclick events for the same button?
Joined: Nov 08, 2001
Jan 13, 2010 05:49:16
Use, but the onclick event will always fire so you need to build logic into it to wait to see if the dblclick event fires. Use flags and setTimeout.
I agree. Here's the link:
subject: problem in applying onclick and ondblclick for a same element
Calling Java Script function in CSS Styles
Is onSelect supported by html:select
Using onclick and ondblclick with setTimeout
Prevent multiple submits (e.g. double clicks) in a4j:CommandLink
build a data entry sheet like spread-sheet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014