I mean, can I add it later on, like after I closed that div?
If I can’t add it in HTML, can I add that in CSS or JS? The thing is that I created website with WordPress and Elementor.
And I can’t edit page as HTML (edit source of html code), but I can add HTML code or CSS code or JS code.
So I want myFunction() to get runned when someone click on div which id is "e-title-2451".
2
Answers
You can try something like:
you can use event listeners :
for class you can use (".e-titlr-2451")