$(function(){
var obj = $('.xxbgcons>div');
obj.each(function(i){
$(this).attr('id',"tab1_div_"+i);
})
});
$($("#myidg a")[0]).html("333");
$($("#myidg a")[1]).html("444");请教我要将
$($("#myidg a")[0]).html("333");
$($("#myidg a")[1]).html("444");
里面的#myidg换成上面的这个不断自加tab1_div这个id,应该怎么写?
拉风的咖菲猫
慕妹3146593
随时随地看视频慕课网APP
相关分类