I have the following code $(document).ready(function() { $('#div-res').click(function() { jQuery.getJSON('http://localhost/tes.php',{},function(jdata){ $('#rdiv-res').html(jdata.data); }); }); });
I work great on firefox and ie7, except in safari(windows or mac) Is there anyway I can get json correct in $('#rdiv-res').html (jdata.data) when using safari?