Ticket #2888 (closed bug: invalid)
Ajax methods freezing IE 7
| Reported by: | ferdjuan | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.4 |
| Component: | core | Version: | 1.2.3 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I wrote a little quick contact ajax form, it works in every browser including IE 6, however IE 7 crashes instantly, but still sends the E-mail. Here is my code:
$(document).ready(function() {
var thename = $('#name'); var theemail = $('#email'); var thesub = $('#subject'); var themsg = $('#message'); $('#emailform').submit(function() {
$.post('/_lib/func.php', { 'name': thename.val(), 'email': theemail.val(), 'subject': thesub.val(), 'message': themsg.val(), 'sender': 'sent' }, function(data) {
$('#processing').fadeIn() .fadeOut(function(){
$('#returndata').html(data) .fadeIn();
});
}); return false;
});
});
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

If this problem is still reproducible in 1.3.2, please reopen and attach a test case.