jquery之attr和prop区别 举例: $("input").attr("checked") //返回 checked 或 undefined $("input").prop("checked") //返回 true 或 false