a?????αЭ????ie?μ?bug????????
???????????? ???????[ 2015/6/9 13:47:00 ] ?????????????????? ??????
?????и??????????????????????? ?????????????????ε??????и?jsonp????????????jquery1.7.2
????????????????
$("#id a").click(funciton() {
$.ajax({
type : "get"??
async:false??
url : "http://screen.app.7k7k.com/awardflower?flowerid=38229639&form=4&callback=success_jsonpCallback"??
dataType : "jsonp"??
success : function(json){
alert(json);
}??
error:function(){
alert('fail');
}
});
});
??????δ?????chrome?? firefox???????????ie???alert('fail')??
????????????????jquery??????????????????????????????????????jquery??????????????????д??ajax????????δ??????ó???У???????
?????????????click??????????click??<a>?????
????<a> ????? ?? <a href="javascript:;" > ?? ?????????????д?????a?????????? ???????????? ????????<a href="#" > ?? ??????????
??????href=#?????????top ?? ????href="#bottom" ?? ???????????Ч?? ??
?????????href="javascript:;" ???? href="javascript:void(0);" ??ie?????alert("fail")???????????ie?Э???bug ?? ???????return false?? ??????????abort????????????????????javascript:??onclick??????? ?????????renturn false. ?????????????
??????????С??<a>????Э?????
????1. ???????????<a>???????ajax????jsonp????????span??????????
????2.??????????<a>??? ?????????javascript:?????? ???click?????????return false. ??????????????? href="#bottom"??
??????????????Щ??????bug ??????????
????????????????????blog??????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11