• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

247
Views
Is it okay to add "onchange" event directly to the html code?

I read that adding styles or javascript such as "onclick" to html is bad practice. I wonder same would apply to "onchange" events?

<select name ="backdrop" onchange="buttonChanger(this)">
about 3 years ago · Juan Pablo Isaza
1 answers
Answer question

0

The drawbacks of onclick attributes apply to all on* attributes.

about 3 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 Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error