• 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
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Use a Trigger to Sent an Enter Key Stroke  RSS feed

 
Ranch Hand
Posts: 1920
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: 1920
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.

 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!