cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to trigger Mashup button when you press Enter in textbox?

Highlighted
Regular Member

How to trigger Mashup button when you press Enter in textbox?

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?

Tags (2)
1 REPLY 1

Re: How to trigger Mashup button when you press Enter in textbox?

Hi Venkata AshokKumar Perla​,

I am also looking for this functionality. Did you find any solution to it?

Thanks,

Ankit Gupta