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

161
Views
how to open dialog box in input field

I have a normal input

          <label className="label-above" htmlFor="Aktenzeichen">Field :</label><br />
          <input id="aktenzeichen"  onKeyDown={(e) => {  setAktenzeichen(e.target.value)}} type="text" /><br />
              

enter image description here

I want to click on it to pop up a dialog where I can search for data(with autocomplete).

enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can do something like this

METHOD-1

<input id="myInput" placeholder="Enter some text" name="name"/>

const input = document.querySelector('#myInput');

input.addEventListener('input', updateValue);

function updateValue(e) {
  // here you can call your pop-up window
}

METHOD-2

<input type="text" id="myInput" oninput="updateValue()">

function updateValue() {
  // here you can call your pop-up window
}
about 4 years ago · Juan Pablo Isaza Report
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!