I am working with a really long page with over 3400 items. Each of those items has a form with 3 buttons and each form has a jQuery $.on() click event attached to it. I am thinking that this is what is causing my issues (slow response to hover, long time to render page) in IE8 with IE7 Document mode. When I select $('button') I get over 10K elements.
The page is being rendered using the fast DoT.js templating library from a JSON object that can go about 6 levels deep.
Any ideas what could be my issue?
From my experience IE7 and IE8 are extremely slow. IE9 is better, IE10 is acceptable.
If you absolutely need this to perform you'll have to look at more invasive performance tweaks, like not rendering all 3400 elements.
From what you describe the performance hit likely isn't in your JavaScript code. If hover events take a long time, that means the browser is just slow.