JSFiddle - React, Tailwind, and code Playground
JavaScript
function LoadData() {
return $.ajax({
url: '/SensorDatas/LoadSettings',
type: 'GET',
contentType: 'application/json;',
dataType: "json",
async: true,
processData: false,
cache: false
});
}
LoadData().done(function(result) {
$("#sensor1slide").slider('setValue', [result.min, result.max], false);
});