<div id="a">lcx</div>
$("#a").click(function(){
$(this).attr({id:"b"});
console.debug("A");
});
$("#b").click(function(){
$(this).attr({id:"a"});
console.debug("B");
});
已经显示修改成功"<div id="b">lcx</div>",但是console.debug始终显示"A"
POPMUISE
阿波罗的战车
温温酱
随时随地看视频慕课网APP
相关分类