 
		春困夏乏秋盹冬眠
2017-11-20 17:08
 $("#btnshow").bind("click", function() {
                var $this = $(this);
                $(".content")
                    .html("<img src='images/lovely.jpg' alt=''/>")
                    .load('food.html', function(responseText, textStatus) {
                        $this.attr("disabled", "true");
                        alert(responseText.toString());
                        alert(textStatus);
                    })
            })
 
				本地jsp没有通过服务器直接ajax中用jsonp访问本地js,使用file协议
 
				路径不对?
jQuery基础(五)一Ajax应用与常用插件
69098 学习 · 416 问题
相似问题