Reputation: 4511
The question is simple. How do I catch selectize input scroll event. For example, I want an alert box pop up each time the user scrolls down in the
http://fiddle.jshell.net/ragulka/3n2CP/4/?utm_source=website&utm_medium=embed&utm_campaign=3n2CP
Upvotes: 0
Views: 1145
Reputation: 413
try this :
{% 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>
Upvotes: 1