Cant use onclick on html5 page, need help using listener and IDs as alternative of onclick for HTML5

I have a html page with javascript that loads a calculator (it works well on Drupal 7) in the html body

[login to view URL]

but it does not work on Drupal 9 because of event rules.


I would like to remove items like onclick, onkeypress, onkeyup and others because they are no longer allowed in the HTML body area in Drupal 8/9. [login to view URL]

Are you able to call on the button and input via their IDs instead, and then implement the listener and other pieces on the JS side?

The three IDs I made are:




See '[login to view URL]' attached.

Evner: JavaScript, CSS, HMLT5, Drupal

Se mere: need help learning use cell phone, need help design web page, need help making bands myspace page, need help designing myspace music page, need help facebook business page, using fasthost api need help, need help page essay obesity, need help css div overlays myspace band page, need help facebook fan page, need help building facebook page, i have bought a theme loma for wordpress to use to design my blog however i am totally stuck and need help in customising my blo, need help building a one page marketing piece, need help setting up my facebook business page, re need help by using solver tools on excel, re: need help by using solver tools on excel, i need help to write one paragraph of three to five sentences about any topic in your paragraph using the vocabulary words from, need help on writing a poem using certain words, wi need help to do a write up for home page on website, i need help with facebook business page

Om arbejdsgiveren:
( 30 bedømmelser ) Toronto, Canada

Projekt ID: #32303474

Tildelt til:

(40 bedømmelser)

11 freelancere byder i gennemsnit $32 timen for dette job


Yes, I can attach event listener via JS. I'm available right now. Regards, Sergio. --- * Blog/portfolio [login to view URL] * GitHub: [login to view URL]

$40 USD in 7 dage
(52 bedømmelser)
(282 bedømmelser)

Hi, I have read your project requirements and I am interested to work on your project. I have 7+ years experience in website development, Please reply me to discuss on further details of the project. i can start wo Flere

$20 USD på 1 dag
(80 bedømmelser)

I am expert ***HTML5 expert *** web designer ... HTML 5 with Bootstrap *** Landing Page Work For the Previous Client... [login to view URL] ( Payment Gateway Service Provider Landing Page ) https://imxzombies Flere

$35 USD på 1 dag
(83 bedømmelser)

Hi, I'm a Drupal developer and I can do this project easily. You will find my reviews and completion percentage better than others. I have good experience in CSS, PHP, HTML and Drupal. Over 8 years of experience in de Flere

$100 USD in 2 dage
(107 bedømmelser)

Hello, We went through your project brief and would love to help you execute your project. InterNative Labs, LLC is a woman-led company, located in ATL, GA. We have a team of professionals with 14+ years of experienc Flere

$30 USD på 1 dag
(6 bedømmelser)

Dear Sir I can fix your errors in a short time with my rich web experience. Let's hire me and I will start now. thank you for your job post.

$20 USD in 7 dage
(4 bedømmelser)

Hi, hope you are doing well. Do you need Web Developer who can do the project? Can I start right now? I have gone through your description I am a web developer with 7 years of experience. I am sure that I can make it Flere

$20 USD på 1 dag
(1 bedømmelse)

Hello, how are you doing? I've read through the job description and I am really interested in the job you posted. My principle is to provide clients with satisfactory result. Also, you can have a friendly communicati Flere

$17 USD på 1 dag
(0 bedømmelser)

Hello hope you are doing well. As a senior developer with vast experience, I am very familiar with automatic booking program development. I fully mastered Javascript, CSS HTML5,Drupal languages. I am sure I can compl Flere

$10 USD på 1 dag
(0 bedømmelser)