jeudi 11 mars 2021

How check two event of two different elements in one if statement javascript

I want to check two different for example when onchange or onload happened to do something. how can id do that?

document.getElementById("category_primary").onchange || window.onLoad 

Aucun commentaire:

Enregistrer un commentaire