具有 true 和 false 两个属性的属性,如 checked, selected 或者 disabled 使用prop(),其他的使用 attr(); 转载于:https://www.cnblogs.com/buptqiaoge/p/5702538.html