Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
I want to bind mash button with keyboard 'Enter' key in-addition to mouse click. I have added below code in snippet of service but it doesn't work
document.onkeydown = function (e) {
e = e || window.event;
switch (e.which || e.keyCode) {
case 13 : //Your Code Here (13 is ascii code for 'ENTER')
break;
}
}
Could you please help on this?
I am also looking for this functionality. Did you find any solution to it?
Thanks,
Ankit Gupta