$j('div.testing').load('index.php div.dataDiv' .... ) is not working in Safari
Hi all,
I would like to get data in one div from other page in same domain into one div:
- <div class="testing">
- </div>
- <script type="text/javascript">
- $j('div.testing').load('index.php div.dataDiv', {option: 'com_npriders', view: 'detail', id: '17', country_id: '35', Itemid: '53'});
- </script>
In IE and FF is okay, but Safari and Chrome is failed. If I run the following codes which is without "div.dataDiv" in load method, it is successful in Safari and Chrome too:
- <div class="testing">
- </div>
- <script type="text/javascript">
- $j('div.testing').load('index.php', {option: 'com_npriders', view: 'detail', id: '17', country_id: '35', Itemid: '53'});
- </script>
Could anyone tell me how can I solve this problem?
Thanks.
Michael Wai