最新回答 / 我不是管家
循環(huán)執(zhí)行函數(shù)可以寫外面,只要在定時器里面執(zhí)行一下var maxTimer = setInterval(){aa(),20}
2016-09-28
最新回答 / 不心酸
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-...
2016-07-07
講師回答 / Ben
clearInterval(maxfun);應(yīng)該是clearInterval(maxtime); ?因為關(guān)閉的是定時器 ?而不是關(guān)閉函數(shù)
2015-08-05