JSFiddle - React, Tailwind, and code Playground
by Santosh J
HTML
<script src="http://www.leemon.com/crypto/BigInt.js"></script>
<div id="choice"></div>
<div id="hidden"></div>
CSS
#hidden {
display: none;
}
JavaScript
var Games;
var x = $.getJSON("http://api.bosurl.net/V1/Progressive.asmx/GetProgressiveGames?format=json&callback=?", function (data) {
Games = data.d;
}).done(function () {
document.getElementById('choice').innerHTML = ProcessProgressiveGames(Games);
});
function ProcessProgressiveGames(progressiveGames) {
return progressiveGames.Games[0].GameName;
}