본문 바로가기

jQuery

jquery checkbox를 이용한 show/hide if($("input:checkbox[name=pollStatus]").is(":checked") == true){ alert("checked"); $(".poll").show(); }else{ alert("not checked"); $(".poll").hide(); } 더보기
TIOBE Programming Community Index for June 2013 June Headline: JavaScript back in the top 10This month, JavaScript re-entered the top 10 of the TIOBE index. It is still a bit of a miracle why this ubiquitous language is not yet part of the top 5. JavaScript is the glue of client-side web page programming nowadays. But JavaScript is currently expanding its application domain. Node.js has made JavaScript a server-side programming language and t.. 더보기
제이쿼리(jQuery) - $.ajax() - 예제 1 : getScript()메서드의 기능을 ajax()메서드로 대체 - 예제 2 : getJSON()메서드의 기능을 $.ajax()메서드로 대체 3. 만약에 한페이지에서 $.ajax()가 많다면 $.ajaxSetup()을 쓰는게 좋다. 아래는 그 예제. 더보기
jQuery Ajax관련 API 및 getJSON 1. #("#id").load()함수 ====실행페이지==== html읽어오기 버튼 ====sample.html==== 샘플 페이지 샘플 페이지입니다 2.JSON(JavaScript Object Notation) html읽어오기 버튼 더보기
제이쿼리(jQuery) - 트리구조 만들기 트리뷰 구현 네이버 야후코리아 구글코리아 구글부산 구글서울 구글서울중구 구글서울서대문구 구글서울동작구 구글인천 더보기
제이쿼리(jquery) - 애니메이션 효과 Go Stop Back 더보기
jQuery효과 관련 API 더보기
제이쿼리(jQuery) - API(동적으로 다른 이벤트 호출) 와 live, delegate함수 비교 1. bind메서드 unbind메서드 $('#btn').bind("click", function(){alert("버튼클릭");}); 2. trigger 메서드 (화면이 로드 될때 사용자가 버튼을 클릭한것 처럼 click이벤트 실행 할때 $('#btn').trigger("click", function(){alert("버튼클릭");}); 더보기
제이쿼리(jQuery) - CSS관련 API 1. DIV 크기 구하기(동적) - 더블클릭시 jQuery Ajax 더보기
제이쿼리(jQuery) - 조작 함수(manipulate) 1. clone(), insertBefore(), prependTo(), appendTo(), insertAfter() 홈 소개 상단메뉴를 하단메뉴에 복사 하단메뉴 2.replaceWith() First Second Third 더보기