I have a problem with IE (8, have not tested on 7). I have a very simple situation: I create a form element
var formNode = $('<form>');
I attach a bunch of other elements to the form (fieldsets with input elements inside of tables). I then attach the form to the DOM, and then bind a submit handler:
formNode.bind('submit', function (ev) {
alert('submit of form!');
// do lots of stuff....
}
This works with Safari on my Mac (yah, I'm a Mac guy), and on Safari and Firefox on Windows, but the alert is never called when I click the submit button when using IE 8. Instead, the browser tries to submit a GET request for / (I have not set either a Method or an Action for the form - perhaps that is necessary?).
Any insights would be greatly appreciated as I am making changes hit-or-miss in order to debug.