Side navigation
#6936 closed bug (worksforme)
Opened August 24, 2010 09:52AM UTC
Closed October 15, 2010 02:24AM UTC
IE7 AJAX Bug
Reported by: | Alize | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.4.3 |
Component: | ajax | Version: | 1.4.2 |
Keywords: | ajax, ie7, 1.4.2, get | Cc: | |
Blocked by: | Blocking: |
Description
IE7 returns an error when doing an AJAX call for the first time, refreshing fixes it.
To test, browse to one page, then browse to page with AJAX call on it.
Code in body:
<script type="text/javascript">
$.get('test.php', function(data) {
alert('test');
});
</script>
1.4.2 doesn't pop up with 'test' on first page load, refresh and it does, 1.3.2 works as it should.
Attachments (1)
Change History (2)
Changed August 26, 2010 12:42AM UTC by comment:1
Changed October 15, 2010 02:24AM UTC by comment:2
keywords: | ajax, ie7, 1.4.2 → ajax, ie7, 1.4.2, get |
---|---|
priority: | → low |
resolution: | → worksforme |
status: | new → closed |
When called within $(document).ready() this is working fine in IE7, 8 and 9. As dmethvin originally stated the error you were receiving is most likely due to $.ajax/$.get being called before the document had finished fully loading.
The $.ajax call occurs before document.ready(). That may have something to do with it. It should work afaik.