$(function () {
$("#btnShow").bind("click", function () {
var $this = $(this);
$.getScript ("http://www.xianlaiwan.cn/data/sport_f.js",function(){
$this.attr("disabled", "true");
});
$("#btnShow").bind("click", function () {
var $this = $(this);
$.getScript ("http://www.xianlaiwan.cn/data/sport_f.js",function(){
$this.attr("disabled", "true");
});
2017-12-14
使用chrom瀏覽器,查看console 錯誤原因。多半是jquery問題 ,如:ajax的回調參數沒有,jquery加載不成功,內容加密https
2017-12-09
兩個地方需要修改:
1)jquery的引用<script src="http://www.xianlaiwan.cn/static/lib/jquery/1.9.1/jquery.js"></script>
2 )http://www.xianlaiwan.cn/data/fruit_part.html 協議改為https:.....
1)jquery的引用<script src="http://www.xianlaiwan.cn/static/lib/jquery/1.9.1/jquery.js"></script>
2 )http://www.xianlaiwan.cn/data/fruit_part.html 協議改為https:.....
2017-12-09