JavaScript from Null: Chapter 5 - Events

preview_player
Показать описание
As we move forward with our JavaScript University, today, we'll learn how to add event handlers to elements on the page. Unfortunately, this can be more cumbersome than we'd hope, due to the fact that Internet Explorer must always be the black sheep. Nevertheless, we'll learn how to abstract these inconsistencies away to our custom utility function.
Рекомендации по теме
Комментарии
Автор

It didn't work in my case no event working, i have tried chrome and firefox both, though there is no error as well

qamarshehzad
Автор

Can you do something like function addEvent(obj, evt, fn, capture = false) in declaration for default value?

nightwhistle
visit shbcf.ru