hi there,
I have a problem using JqxSlider, I haven’t tried this yet on any other JqxWidgets.
I’m building a form that will have many JqxSlider objects and I need my javascript to be relatively generic for binding the slideEnd and change events to these objects. I was hoping to be able to do this:
<div class="otherstyle_classes mysliders"></div>
<script>
$( function() {
$(".mysliders").jqxSlider( ... );
$(".mysliders").on("slideEnd", function(event) {
alert("slide ended");
});
});
</script>
But the slideEnd event does not trigger when using a class as a selector in JQuery. I don’t want to use the DIV ID (which does work) otherwise I have to write this block of code for every single slider on my page, and there could be 20 to 50 or so of them. Is there some other way I can generically bind an event to a JqxSlider?