我使用下面的代码段拉股价从雅虎财经跨域脚本错误?
<script type="text/javascript">
$(function() {
$("#quote").load("http://finance.yahoo.com/q?s=utg #yfs_l10_utg").text();
});
</script>
我得到以下错误: -
Security Error: Content at file:[file url] may not load data from http://finance.yahoo.com/q?s=utg.
和
Error: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "[file url]"]
源文件:[url]
任何人有任何想法,我可能会如何在这附近?