jquery ajax ie6 fail
jquery ajax ie6 fail
Hi there,
I've been using jquery successfully for some time now but can't get this working:
- <script>
$(document).ready(function()
{
$.ajax({
type: 'POST',
cache: false,
url: '/reports/inc/potentialConcern-report-gen.php',
dataType: "html",
data:{depno: 0, years: 0, haz: 0, sid: Math.random()},
success: function(reply){
$('#report-load-area').append( reply );
}
});
});
</script>
This works in ie7,8 and FF.
It works on my test server which is running WAMP on the LAN. But when I upload to a live server which is linux, ie6 returns ?[][] or something similiar.
I've tried using error: and parseerror, both within the complete function and as an ajax parameter but I'm not getting an usfeul data (maybe its the way I'm using it?
All I'm returning is a link ie
- <a href="example.php">Download</a>
I'd appreciate any help, I've also tried specifying utf8 on both php and jquery but didn't help either.
Thanks
Abe