-1
데이터베이스의 jquery select2에 표시되는 필드가 데이터베이스에 있습니다. PHP를 사용하여 jquery select2로 어떻게 표시합니까? 내 나쁜 영어데이터베이스의 필드를 select2로 다중 표시
데이터베이스의 jquery select2에 표시되는 필드가 데이터베이스에 있습니다. PHP를 사용하여 jquery select2로 어떻게 표시합니까? 내 나쁜 영어데이터베이스의 필드를 select2로 다중 표시
- Retrieve select box information from database
- add to the option
- add select 2 library to your page
- give a class to select box so that you can refer in JavaScript
- then add below code
<script type="text/javascript"> $(class name of select box).select2(); </script>
참조에 대한
죄송합니다 : - https://select2.github.io