제이쿼리

· Frontend
Javascript나 jQeury를 사용해 script에서 radio button, check box의 checked속성을 바꾸는 법을 알아보겠습니다. 바로 코드를 보겠습니다. //jQuery $("#radioBtn").prop('checked', true); //체크 활성화 $("#radioBtn").prop('checked', false);//체크 비활성화 스크립트에서 위 처럼 DOM 객체를 선택한 뒤 .prop() 메소드를 사용해서 check 속성을 바꿔주면 됩니다. 아래는 간단한 예시입니다.
· Frontend
오늘은 제이쿼리를 처음 적용하는 법에 대해 알아보겠습니다. 제이쿼리를 적용시키는 방법은 크게 두가지가 있습니다. 두가지 모두 알아보도록 하겠습니다. 1. 다운로드 - 첫 번째는 다운로드입니다. 말 그대로 파일을 다운로드 하여 내 PC에 저장해서 쓰는 것입니다. 1. 홈페이지에 접속합니다. https://jquery.com/download/ Download jQuery | jQuery link Downloading jQuery Compressed and uncompressed copies of jQuery files are available. The uncompressed file is best used during development or debugging; the compressed file save..
rocher71
'제이쿼리' 태그의 글 목록