• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Use a Trigger to Sent an Enter Key Stroke  RSS feed

 
Ranch Hand
Posts: 1931
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an input element in one container that has a keyup event bound to it.

In the process another container displays a list. When a user selects a list element the input in the first container is populated.

I would like to do a trigger that would programmatically press the enter key.

Every thing works fine except the trigger.

Here is the function that starts the request:



Here is the first container:



Here is the trigger code:

 
Greenhorn
Posts: 6
Chrome Java Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Steve
 
Steve Dyke
Ranch Hand
Posts: 1931
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

bihan- mahadewa wrote:Hey Steve



Yes, I am here. I did get this code figured out.

 
Let nothing stop you! Not even this tiny ad:
global solutions you can do in your home or backyard
https://coderanch.com/t/708587/global-solutions-home-backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!