标签:span script formdata bsp 重复 停止 home val call
var i=0; var int=self.setInterval(function(){ console.log(i++); change_img(); },20); clearInterval(int); //停止定时器
转自i https://blog.csdn.net/jiangwei1994/article/details/80774214
var isclick = true; function post_test() { if (isclick) { isclick = false; //--- var posturl = "/Home/P_Getcode"; var formData = new FormData(); myxhr.mypost(posturl, ‘json‘, formData, callback_1); //--- setTimeout(function () { isclick = true; }, 500); } }
标签:span script formdata bsp 重复 停止 home val call
原文地址:https://www.cnblogs.com/enych/p/11477329.html