jquery中的超时功能是什么?
setTimeout("searchClusterAction(action)",3000);
function searchClusterAction(action)
{
var url = action
$(location).attr('href',url);
}
在使用超时时,我在第 2 行遇到错误
var action = "/search/perform/1584/xyz/["1","2","3","4,5,6"]/json
setTimeout('searchClusterAction('+action+')',3000);