검색결과 리스트
disabled에 해당되는 글 2건
- 2013.11.21 [Mac] MacBookPro Retina 맥북 트렉패드 사용하지 않기
- 2012.08.01 [jQuery] .attr("disabled") .attr("readonly") 리턴값
글
링크 : http://support.apple.com/kb/ht3608
시스템 환경설정 -> 손쉬운 사용 -> 마우스와 트랙패드 -> 마우스 또는 무선 트랙패드가 있으면, 내장 트랙패드 무시 -> [체크]
'OS > Mac' 카테고리의 다른 글
[Mac] OS X 사용자 라이브러리 폴더에 접근하는 10가지의 다양한 방법 (0) | 2013.12.25 |
---|---|
[Mac] Homebrew로 OS X 패키기 관리하기 (0) | 2013.12.23 |
[Mac] AppleCare 제품 보증기간을 확인하는 방법 (0) | 2013.02.17 |
[Mac] Mac 한영전환키를 오른쪽 Command로 사용해 보자 (0) | 2013.02.01 |
[Mac] Finder 단축키를 생성하자 (Command+E) (0) | 2012.12.29 |
트랙백
댓글
글
<script type="text/javascript">
// 기존코드
if ( slt_SF_CLS.disabled == true ) {
}
// 위와 같은 코드를 아무생각 없이 jQuery를 이용해서 아래와 같이 변경했더니 안됐다.
// 이걸 어떻게 찾아 ㅡㅡ;
if ( $(slt_SF_CLS).attr("disabled") == true ) {
}
// 암튼 출력 해보면
$(slt_SF_CLS).attr("disabled", false);
alert($(slt_SF_CLS).attr("disabled")); // undefined
$(slt_SF_CLS).attr("disabled", true);
alert($(slt_SF_CLS).attr("disabled")); // disabled
// readonly attribute도 마찬가지 이다.
$(slt_SF_CLS).attr("readonly", false);
alert($(slt_SF_CLS).attr("readonly")); // udefined
$(slt_SF_CLS).attr("readonly", true);
alert($(slt_SF_CLS).attr("readonly")); // readonly
</script>
// HTML
<select id="slt_SF_CLS" name="slt_SF_CLS">
</select>
'JavaScript > jQuery' 카테고리의 다른 글
[jQuery] val 메소드 getter, setter 구별법 (0) | 2012.08.30 |
---|---|
[jQuery] PlugIn 만들기 (0) | 2012.08.08 |
[jQuery] .each $.each 순회중 continue, break 하기 (0) | 2012.07.26 |
[jQuery] ajaxForm 구현 (0) | 2012.07.23 |
[jQuery] Plugin Validation (0) | 2012.06.18 |
RECENT COMMENT