function setItem2(key,data,key2,data2){
localStorage.setItem(key,data);
localStorage.setItem(key2,data2);
}
localStorage.setItem(key,data);
localStorage.setItem(key2,data2);
}
- wendaList += "<li class='clearfix' οnclick=\"setItem2('zhidu_id','" + jsondata[i].ZhiDuId + "' , 'auserid','" + jsondata[i].Id + "')\">";