JavaScript ListBox

Bind to the bindingComplete event by type:jqxListBox. Author: http://jqwidgets.com

by jqwidgets

HTML

<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id='jqxListBox'></div>

JavaScript

var source = [
      "Affogato",
      "Americano",
      "Bicerin",
      "Breve",
      "Café Bombón",
      "Affogato",
      "Americano",
      "Bicerin",
      "Breve",
      "Café Bombón",
      "Café au lait"];
$("#jqxListBox").on('bindingComplete', function (event) {
      alert("Binding is completed");
  });
  // Create a jqxListBox
  $("#jqxListBox").jqxListBox({
      source: source,
      theme: 'energyblue',
        selectedIndex: 3,
        checkboxes: true
  });