このコードで何が問題なのかわかりません。私は何かを試しました。両方の.load
と.ready
は、Internet Explorerで発生しません。 https://www.assamteacompany.ca/product.php?productid=17657IE上で動作しないjQuery .load(他のすべてのブラウザで正常に動作します)
$(function(){
$('.descr').each(function(){
var teaAccessory = $('.descr > div').attr('id');
var description = '_description';
$(this).load('https://www.assamteacompany.ca/skin/assam_tea_company/script/product_descriptions.html #' + teaAccessory + description);
});
});
対応するHTMLを表示できますか? – devnull69
https://www.assamteacompany.ca/product.php?productid=17550 –
ハッシュの前に空白があるはずですか?product_descriptions.html# ' –