HTML

<!--css-->
<link rel="stylesheet" type="text/css" href="prettydropdowns.css">
    
<select>
	<option>김철수</option>
	<option>김영희</option>
	<option>정수영</option>
</select>
            
<!--javascript-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="jquery.prettydropdowns.js"></script>

JAVASCRIPT

$(document).ready(function(){
	$('select').prettyDropdown();
});

REFERENCE

  1. 'jquery.prettydropdowns.js', 'prettydropdowns.css' 다운로드 링크
  1. 'jquery.prettydropdowns.js', 'prettydropdowns.css' 참고 링크
profile
TJ

0개의 댓글