$.ajax({
url: $('#fileupload').fileupload('option', 'url'),
dataType: 'json',
context: $('#fileupload')[0]
}).always(function () {
$(this).removeClass('fileupload-processing');
}).done(function (result) {
$(this).fileupload('option', 'done')
.call(this, $.Event('done'), {result: result});
});
if (rowA.cells[colNum].innerHTML>rowB.cells[colNum].innerHTML) return 1;
else if (rowA.cells[colNum].innerHTML<rowB.cells[colNum].innerHTML) return -1;
else return 0;
$(document).ready(function() {
let html = [];
let containerHTML = $(".container").html().split(/\n/);
let containerTXT = $(".container").text().split(/\n/);
$.each( containerHTML, function( i, el ) {
if (containerHTML[i] == containerTXT[i])
html.push('<div>' + containerTXT[i] + '</div>');
else
html.push(containerHTML[i]);
});
$(".container").html(html.join('\n'));
});