Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

236
Views
What are the javascript events that can trigger an action on an input field?

I am building up a plugin that needs to perform a search on linkedin main search bar, using jquery & js.

When using it normally, you would have to click on it, which expands a search box, and press enter to search for the value your entered:

enter image description here

However, for some reason, I am unable to trigger the click on the search input. I tried with click, mousein, mouseenter, focusin events, using jquery, but it does not trigger any action. I also try to simulate a click, but no luck.

I went further and tried the same actions on the parent divs with class "global-nav-typeahead", "search-global-typeahead" and "global-nav__search" but no luck.

you can see the structure here:

enter image description here

Therefore my question is, is there any other js event I am missing that could cause the search box to open? I'm not sure which event is this search box listening to in order to appear.

What other events could be triggered? Is it possible linkedin has some kind of protection about programmatic events? and if yes, how to go around it?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!