the problem is a bit tricky. My code to dynamically load table rows inside a table and then attach events to all the Table cells doesn't work in IE7/8. But sometimes it does work for no apparent reason.
Here is a little sample: http://jsbin.com/ivarus/6/edit
This is a simplified version of what I'm doing in my app
Here are the exact steps to repro: 1) Open IE and set to IE7/8 from dev tools (not necessary if you're already running IE8) 2) Navigate to http://jsbin.com/ivarus/6/edit Expected: clicks attached to TD work in the Output section Actually: the event listeners start working only after pressing "Run script"
In all other browsers (IE9+,Chrome,FF) this works immediately. Why? Am I doing something wrong ?Should I look for an alternative approach ?