This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Short and long press
#1
Hi,

I was trying to create a button with short and long press functionality, but I can’t do that. First, I’m not sure if the jQuery library has been disabled, and on the other hand, I can’t achieve it directly with querySelector. I want something similar to this: https://forum.logicmachine.net/showthread.php?tid=275
I also realized that JavaScript is loaded before the document, and I need to add a delay before reading classes or values.

Thanks!
Reply


Messages In This Thread
Short and long press - by DGrandes - 18.09.2025, 15:26
RE: Short and long press - by admin - 18.09.2025, 15:28
RE: Short and long press - by DGrandes - 19.09.2025, 07:05

Forum Jump: