태그에서 jequery 사용명시 아래 3가지 방법 중 하나로 문서(document)가 준비(ready)되면 실행할 수 있다.
다음을 보면 readyfunction 사용 이유를 확인할 수 있다.안 쓰면 body 태그 내용 중에 내용을 확인하기 전에 실행이 되니까.
태그에서 jequery 사용명시 아래 3가지 방법 중 하나로 문서(document)가 준비(ready)되면 실행할 수 있다.
다음을 보면 readyfunction 사용 이유를 확인할 수 있다.안 쓰면 body 태그 내용 중에 내용을 확인하기 전에 실행이 되니까.