JSFiddle - React, Tailwind, and code Playground
HTML
<div id='partial_1'></div>
<div id='partial_2'></div>
<div id='partial_3'></div>
JavaScript
var url = "https://gist.githubusercontent.com/anonymous/4e9213856be834b88f90/raw/1d90ab5df79e6ee081db2ff8b94806ef27cbd422/abc.html";
$.ajaxSetup({
beforeSend: function(jqxhr, settings) {
jqxhr.params = settings.url
}
});
function loadComplete(data, textStatus, jqxhr) {
$(this).find("h1")
.html(function(_, html) {
return html + " My param is " + jqxhr.params.split("?")[1]
});
};
$('#partial_1').load(url + "?111", loadComplete);
$('#partial_2').load(url + "?222", loadComplete);
$('#partial_3').load(url).load(url + "?333", loadComplete);