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

176
Views
Maintain browser input history on SPA

In normal input surrounded by form, when a user submits some data, the browser stores the input data as history for that specific input.

When a user returns to that input and starts writing that old value, the browser suggests the matching data from previous submits.

<form action="/action_page.php">
  <label for="fname">First name:</label>
  <input type="text" id="fname" name="fname"><br><br>
  <input type="submit" value="Submit">
</form>

enter image description here

The code never triggers a submit in the SPA, so it lacks this functionality.

How can I provide such functionality using the native browser capabilities without submitting? I am not interested in code suggestion libraries, and I want only the native suggestion mechanism.

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!