Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Auto enter key press

Auto enter key press

Scheduled Pinned Locked Moved ASP.NET
javascriptcsharptutorialquestion
4 Posts 2 Posters 6 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 12127319
    wrote on last edited by
    #1

    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.

    Z 1 Reply Last reply
    0
    • U User 12127319

      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.

      Z Offline
      Z Offline
      ZurdoDev
      wrote on last edited by
      #2

      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.

      U 1 Reply Last reply
      0
      • Z ZurdoDev

        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.

        U Offline
        U Offline
        User 12127319
        wrote on last edited by
        #3

        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.

        Z 1 Reply Last reply
        0
        • U User 12127319

          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.

          Z Offline
          Z Offline
          ZurdoDev
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups