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

119
Views
Prevent submit form when focus is on input

I have a form with input fields and in the input field, I have click event but when i am pressing enter instead of calling javascript it submits the form.

<form id="frmPrice" method="post" action="script.php">
<input id="bar" name="bar" onclick="javascriptFunction1()" />
<input id="price" name="price" onclick="javascriptFunction2()" />
<input type="button" value="Send" onclick="submitform();" />
</form>
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!