选择滚动事件

Selectize scroll event

问题很简单。如何捕获选择输入滚动事件。例如,我希望每次用户在

中向下滚动时弹出一个警告框

http://fiddle.jshell.net/ragulka/3n2CP/4/?utm_source=website&utm_medium=embed&utm_campaign=3n2CP

试试这个:

{% load selectize_tags %}
<html>
 <head>  
 {% selectize_tags_media 'css' %}
 </head>
 <body>
  <label for="select-country">Country:</label>
  <select id="select-country" placeholder="Select a country...">
   <option value="">Select a country...</option>
   <option value="AF">Afghanistan</option>
   ....
  </select>
  ...

  {% selectize_tags_media 'js' 'jquery' %}
  <script>
   $('#select-country').selectize();
  </script>
 </body>
<html>