# Jquery .ajax() not working in ie8

**URL:** <https://forum.kirupa.com/t/jquery-ajax-not-working-in-ie8/323913>\
**Category:** Uncategorized\
**Created:** [July 24, 2011, 12:58am UTC](https://forum.kirupa.com/t/jquery-ajax-not-working-in-ie8/323913 "2011-07-24T00:58:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OMG](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OMG](https://forum.kirupa.com/u/OMG)\
**Post date:** [July 24, 2011, 12:58am UTC](https://forum.kirupa.com/t/jquery-ajax-not-working-in-ie8/323913/1 "2011-07-24T00:58:35Z")

</div>

Hi

here’s the relevant part of my code:

```auto
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>  
$(document).ready(function(){
	$.ajax({url:"db.xml",success:function(res){				
		loadDivs(res)
		doSearch()	
	}})
})

```

works well in chrome (everything works in chrome o.0), but not in ie. In ie the file won’t load.

Thanks in advance!
