¡@

Home 

javascript Programming Glossary: html_element

Javascript add events cross-browser function implementation: use attachEvent/addEventListener vs inline events

http://stackoverflow.com/questions/3763080/javascript-add-events-cross-browser-function-implementation-use-attachevent-add

we could use this simple 1st solution function AddEvent html_element event_name event_function if html_element.attachEvent Internet.. AddEvent html_element event_name event_function if html_element.attachEvent Internet Explorer html_element.attachEvent on event_name.. if html_element.attachEvent Internet Explorer html_element.attachEvent on event_name function event_function.call html_element..