What is this attachEvent error ie9, ie10?

It is confusing trying to work out what you are saying. Just exactly what commands are you using for the events?

addEventListener - not IE8 or earlier
attachEvent - only IE9 and earlier
jQuery 1.11 on - should work for all browsers
jquery 2.0 on - not IE8 and earlier