Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By sgkalluri
#790143
Hello there,

Is there a way to detect and act on a double click event using Javascript while running PM?

Thanks in advance...

SGK
User avatar
By amosbatto
#790158
For most input fields:
Code: Select all
$("#myfield").getControl().dblclick( function() {
  alert("double click");
});
or for a button:
Code: Select all
$("#myfield").find("button").dblclick( function() {
  alert("double click");
});
By sgkalluri
#790163
Thanks a lot Amos. It worked.

I also noticed that if I use both the event handlers - single click and double click - in JS code, then the preference goes to the single click over the double click. Is that expected behavior?

Thanks again,
SGK

As you have got seen that after every single updat[…]

issue with processmaker 3.2

Hello! The solution to your question is the foll[…]

BPMN project disappeared

Hi Alex! , maybe you forgot to save your process[…]

mcrypt extension is deprecated!

Hello Ehsan! If you did not find the mcrypt ext[…]