【发布时间】:2013-02-09 11:56:17
【问题描述】:
这段代码给了我这个错误:missing : after property list 错误注释在哪里。
$("#jquery_jplayer_1-<?php echo $key.'-'.$j; ?>").jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {
<?php echo $info['extension'];?>: "<?php echo "AudioFiles/".$a; ?>"
});
},
$(this).bind($.jPlayer.event.play, function() { //ERROR HERE
$(this).jPlayer("pauseOthers");
},
solution:"flash,html",
swfPath: "jquery",
supplied: "<?php echo $info['extension'];?>"
});
我想知道如何解决这个错误,我是否通过查看以下文档正确实现了 pauseOthers 函数:DOCUMENTATION
【问题讨论】:
标签: php javascript jquery