A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
build a data entry sheet like spread-sheet
Calling Java Script function in CSS Styles
Using onclick and ondblclick with setTimeout
Is onSelect supported by html:select
Prevent multiple submits (e.g. double clicks) in a4j:CommandLink
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014