특정 요소를 항상 위에 정렬시키는 jQuery 스크립트
리스트 글에서 특정 클래스의 항목을 항상 상단에 위치시키고자 할 때 사용할 수 있는 간단한 jQuery 코드입니다.
$('.featured').prependTo('.order-me'); //Source: http://stackoverflow.com/
리스트 글에서 특정 클래스의 항목을 항상 상단에 위치시키고자 할 때 사용할 수 있는 간단한 jQuery 코드입니다.
$('.featured').prependTo('.order-me'); //Source: http://stackoverflow.com/