I have a piece of javascript which is supposed to latch onto a form which gets introduced via XHR. It looks something like:
$(document).ready(function() { $('#myform').live('submit', function() { $(foo).appendTo('#myform'); $(this).ajaxSubmit(function() { alert('HelloWorld'); }); return false; }); });
This happens to work in FF3, but not in IE7. Any idea what the problem is?
How are you excuting the submit? Can you try this instead?