Auto enter key press
-
How to generate enter key press without pressing enter key from the keyboard. Is it possible using jquery ? Suppose In C# I found SendKeys.Send("{ENTER}"); like that how it is possible in jquery or Javascript.
-
How to generate enter key press without pressing enter key from the keyboard. Is it possible using jquery ? Suppose In C# I found SendKeys.Send("{ENTER}"); like that how it is possible in jquery or Javascript.
Member 12160780 wrote:
Is it possible using jquery ?
No, since it is a security issue. However, why would you want to? There is very likely a better way to do what you want to do.
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
-
Member 12160780 wrote:
Is it possible using jquery ?
No, since it is a security issue. However, why would you want to? There is very likely a better way to do what you want to do.
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
Actually I am going to make a web application from where I send a whatsapp message using whatsapp.web. So I send a number and message dynamically and bind with that url. It takes me new tab with specific person(number) and message. Now If I pressed enter key then message can go. For that I need to do this. Though there is a lots of way to integrate whatsapp message using api or else. But all of them are paid.
-
Actually I am going to make a web application from where I send a whatsapp message using whatsapp.web. So I send a number and message dynamically and bind with that url. It takes me new tab with specific person(number) and message. Now If I pressed enter key then message can go. For that I need to do this. Though there is a lots of way to integrate whatsapp message using api or else. But all of them are paid.
Member 12160780 wrote:
. Now If I pressed enter key then message can go
Pressing Enter probably is submitting the form so what you can do is google on how to emulate submitting a form with c#. You'll basically do the post yourself.
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.