【发布时间】:2011-05-24 16:38:47
【问题描述】:
在 firefox 或 chrome 或其他浏览器中我没有这个问题,但在 ie 中不起作用。
$(document).ready(function(){
$('#divplayer').load("/player/index.php");
$("a.eklebeni").live('click', function(event){
event.preventDefault();
$('.png', this).attr('src', 'img/eklendi.png');
$.get($(this).attr("href"), function(data) {
$('#divplayer').html('<img src="img/player.png" class="png" alt="" />');
$('#divplayer').load("/player/index.php");
});
});
我不知道为什么加载功能不起作用?
谢谢
【问题讨论】:
-
为什么不呢?会发生什么? 您在开发工具中看到了什么?
-
查看 JavaSript 控制台,看看是否有任何报告的错误,然后发布错误。并且可能涉及任何脚本/html行。
-
所有版本的 IE。并且 javascript 控制台没有显示错误,这是 facebook iframe 应用程序。您可以查看apps.facebook.com/muzikarsivi。但播放器加载脚本不起作用
标签: javascript jquery