JSFiddle - React, Tailwind, and code Playground
HTML
<div id="footer">
version: <span id="version"><strong></strong></span> | server timezone: <span id="tzname"><strong></strong></span>
</div>
JavaScript
//change the servername to whatever it is on your machine.
var query = {
url: 'http://localhost:3339/home/siteinfo',
type: 'GET',
dataType: 'jsonp',
success: function (data) {
if (data) {
$('#version strong').html(data.version);
$('#tzname strong').html(data.serverTimeZoneName);
}
}
};
$.ajax(query);