我需要进行健全性检查,因为我花了大约一个小时试图弄清楚这一点!
getRows().each(function() {
alert(this); // alerts '[object HTMLTableRowElement]', nothing wrong here
this.hide(); // row not hidden - wtf?
alert('hidden'); // no alert - more wtf!
});
调用 hide() 有什么问题?