1234567891011121314151617 jQuery 스크롤 올리기 - $('html, body').scrollTop(0) jQuery 스크롤 내리기 - $('html, body').scrollTop(document.body.scrollHeight) 자바스크립트 스크롤 올리기 - document.documentElement.scrollTop = 0; 자바스크립트 스크롤 내리기 - document.documentElement.scrollTop = document.body.scrollHeight; Colored by Color Scriptercs 감사합니다.
제이쿼리, 자바스크립트 스크롤 올리기/내리기 (jquery, javscript)
1234567891011121314151617 jQuery 스크롤 올리기 - $('html, body').scrollTop(0) jQuery 스크롤 내리기 - $('html, body').scrollTop(document.body.scrollHeight) 자바스크립트 스크롤 올리기 - document.documentElement.scrollTop = 0; 자바스크립트 스크롤 내리기 - document.documentElement.scrollTop = document.body.scrollHeight; Colored by Color Scriptercs 감사합니다.
2018.07.05