1,用ajax刷新iframe后,要获取该iframe的元素需重新获取。 $(window.frames["frame"].document); 2,全选第二次不行可以用遍历checkobx设置this.checked=true;的方式全选和反选