A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
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.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
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
build a data entry sheet like spread-sheet
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