I'm looking for some help with the following code, in which I'm trying to dynamically load some PHP content into a DIV:
<script type="text/javascript">
$(document).ready(function() {
$("#test").click(function(event){
event.preventDefault();
$('#folders').load('loadfolders.php');
});
});
</script>
This code works fine in FF and Safari, but will not work in IE7.
More specifically, it does not load anything into the DIV, it remains blank.
Interestingly, if I replace it with:
$('#folders').load('test.html');
It works fine.
Any ideas?