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
Java Interview Guide
this week in the
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
Prevent multiple submits (e.g. double clicks) in a4j:CommandLink
Is onSelect supported by html:select
build a data entry sheet like spread-sheet
Using onclick and ondblclick with setTimeout
Calling Java Script function in CSS Styles
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015