웹언어/jQuery

.scroll() 사용하여 스크롤 끝 지점에 Alert 뛰우기

건깡 2012. 6. 5. 18:47

	$(".listbox").scroll(function(){
		if((this.scrollTop+this.clientHeight) == this.scrollHeight)
			alert("끝지점");
	});