목록제이쿼리 (1)
hello world

제이쿼리 함수 정리 1) gridDiv 라는 아이디를 가진 그리드 안의 e-row 클래스에 특정 속성 추가하기 : attr() 사용 attr ()는 요소의 속성(attr)의 값을 가져오거나 속성을 추가한다. $("#gridDiv .e-row").attr("check-selected", true) $("#elmtId").attr(attrName, value) : check-select 라는 이름을 가진 속성에 true 라는 value 값 추가 $("#elmtId").attr(attrName) : check-select 라는 속성의 값을 가져온다. 2 ) removeAttr() $("#gridDiv .e-row").removeAttribute("check-selected"); 선택한 요소("#gridDiv ..
WEB/Front
2020. 3. 17. 19:33