For a long time, IE had a completely different way of handling events than other browsers. requiring two sets of code to get code to work correctly.
True
False
Yes the given Statement is True
Reason : All the browser uses The addEventListener to handle the events but the Internet Explorer make use some other way till IE 8 and earlier versions, . Instead of using the event listener they used something called as attachEvent where The first parameter is the name of the event, along with on prefix , and the second is a function reference or anonymous function. And this approach was having many shortcomings but still for a long IE uses this only .
This was the scenario when we compare IE and other browsers in terms for event handling
Thank You
Get Answers For Free
Most questions answered within 1 hours.