1
2
3
4
5
6
7
// 비활성화
obj1.prop("disabled"true);
obj1.attr("disabled","disabled");
 
// 활성화
obj2.prop("disabled"false);
obj2.removeAttr("disabled");
cs


요즘은 prop를 쓰는게 대세 !!