I'm dynamically generating a <select> element and using jQuey's load() command to replace the content of an HTML <div>. I then chain the bind for the change event to the load() command and everything works fine in FF, but not IE7 (IE never fires the event). If I bind a click event as opposed to a change event, that works fine in both browsers, but I don't want click. My solution: Use the livequery plugin to bind the change event in jQuery's ready handler. This works fine in both browsers. My question is why does the chaining method not work but the livequery method does?
Chaining: $("#foo").load(url, parameters).bind("change", bar); livequery: $("mySelect").livequery("change", bar);