【发布时间】:2016-04-11 20:05:46
【问题描述】:
我有下面的小提琴似乎工作正常:
jQuery(function() {
// Remove any double class applications
jQuery(".pricedisplay .pricedisplay").removeClass("pricedisplay");
// Load from BitPay's conversion rates JSON page
jQuery.ajax({
dataType: "json",
url: "https://bitpay.com/api/rates",
success: function(data) {
但是,当我实时尝试此代码时,它无法正常工作。
感谢您的帮助。
【问题讨论】:
-
你的网站上有没有 jquery 参考??
-
您是否在实时页面上链接 jQuery?
-
你的 html 文件中包含 jQuery 了吗?
-
我的 html 看起来像这样:
10
-
那就不行了^^哈哈