Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! 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