Thank you ...">

Adding custom events to html tag

How to add custom event to html tag like:

<button oncustomevent="doSomething('string')">

      

Thank you in advance

+3
javascript html html5


source to share


No one has answered this question yet

See similar questions:

6
Custom event in HTML, Javascript

or similar:

7205
Why does HTML consider "chucknorris" a color?
2639
How can I disable browser autocomplete in a web form field / input tag?
1929
HTML 5: is this a site, <br/ "> or <br/">?
1922
What are the valid values ​​for the id attribute in HTML?
1738
How do I create an HTML button that acts like a link?
1678
Binding events to dynamically created elements?
1375
Where should I put <script> tags in my HTML markup?
1270
Why don't self-closing script elements work?
957
Adding HTML Objects Using CSS Content
318
Can I add a custom attribute to the HTML tag?



All Articles
Loading...
X
Show
Funny
Dev
Pics