A to Z

readonly , disabled 지정하기

by kay posted Oct 01, 2013
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

readonly , disabled 지정하기.


별건 아니지만 머리가 기억하지 못하고 자꾸 찾게되네요 ;; 


$("input[name=id]").attr("readonly",true); 
$("input[name=id]").attr("disabled",true);