jQuery Plugin For Customizable Tournament Brackets - Bracket

jQuery Plugin For Customizable Tournament Brackets - Bracket

Hi All,
Request you to kindly help me with making an ajax call to load data on change of combobox.

I am able to see the data loaded using the below code.

var singleElimination = {
  "teams": [              // Matchups
    ["Team 1", "Team 2"], // First match
    ["Team 3", "Team 4"]  // Second match
  ],
  "results": [            // List of brackets (single elimination, so only one bracket)
    [                     // List of rounds in bracket
      [                   // First round in this bracket
        [1, 2],           // Team 1 vs Team 2
        [3, 4]            // Team 3 vs Team 4
      ],
      [                   // Second (final) round in single elimination bracket
        [5, 6],           // Match for first place
        [7, 8]            // Match for 3rd place
      ]
    ]
  ]
}
$('.demo').bracket({
  init: singleElimination
});

but I would like to make a API call to fetch the data on combobox change. 
Request you to kindly help me with it, I am not able to proceed with it.