0

Someone tell me how i use addEventListener in JavaScript.

Tell me as well as possible with the code

13th Mar 2020, 9:46 AM
𝗣𝗮𝘄𝗮𝗻 𝗞𝘂𝗺𝗮𝗿 🅟︎🅚︎
𝗣𝗮𝘄𝗮𝗻 𝗞𝘂𝗺𝗮𝗿 🅟︎🅚︎ - avatar
3 odpowiedzi
+ 3
Check this out https://www.sololearn.com/learn/JavaScript/2758/ It has detail descriptions as well as with the code.
13th Mar 2020, 10:22 AM
Calviղ
Calviղ - avatar
+ 2
document.getElementById("id").addEventListener("event", function);
13th Mar 2020, 7:22 PM
xym
xym - avatar
0
Thanks 😘😘☺️😘☺️😘😊😘😘😘☺️😘😊😘😊😎😘😊😘😊😊😘☺️😘😊😘😊😘☺️😘☺️😘☺️😘☺️😘 😊😘😊😊😊😎😊😎😊😎😘😊😊😊😘😊 😘😊😘☺️😘 😊😊😊😘😊😊😊 😊☺️😘☺️😊☺️😘😊 😘😊 😘☺️😊☺️😘😊
13th Mar 2020, 10:45 AM
𝗣𝗮𝘄𝗮𝗻 𝗞𝘂𝗺𝗮𝗿 🅟︎🅚︎
𝗣𝗮𝘄𝗮𝗻 𝗞𝘂𝗺𝗮𝗿 🅟︎🅚︎ - avatar