开发者

jquery.load() returns a 404 error in Safari

开发者 https://www.devze.com 2023-03-17 05:40 出处:网络
$(document).ready(function(){ $(\'.choice_1\').click(function(e) { var url = $(this).attr(\'href\'); $(\'.con_cen\').load(\'cal_month.html\');
$(document).ready(function(){
$('.choice_1').click(function(e) {
var url = $(this).attr('href');
$('.con_cen').load('cal_month.html');
e.preventDefault();
})

This only happens when I try to lo开发者_Python百科ad a widget from the jQuery UI. If I load a standard page then it works fine. Safari javascript console says 404. It works fine for the other major browsers. Any suggestions?

Thanks, Mike

0

精彩评论

暂无评论...
验证码 换一张
取 消