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

181
Views
onclick event in Google chrome

So I developed a functioning website in Firefox, but when running in google chrome, it breaks. I've boiled down the problem to be the onclick attribute not working inside select options, but what can I use as a replacement?

<select id="n1">
  <option id="n1h" disabled selected hidden>First Note</option>
  <option id="n1o1" onclick="keyC()">C</option>
  <option id="n1o2" onclick="keyDb()">D&#9837;</option>
  <option id="n1o3" onclick="keyD()">D</option>
  <option id="n1o4" onclick="keyEb()">E&#9837;</option>
  <option id="n1o5" onclick="keyE()">E</option>
  <option id="n1o6" onclick="keyF()">F</option>
  <option id="n1o7" onclick="keyGb()">G&#9837;</option>
  <option id="n1o8" onclick="keyG()">G</option>
  <option id="n1o9" onclick="keyAb()">A&#9837;</option>
  <option id="n1o10" onclick="keyA()">A</option>
  <option id="n1o11" onclick="keyBb()">B&#9837;</option>
  <option id="n1o12" onclick="keyB()">B</option>
</select>

Thanks!

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!