JSFiddle - React, Tailwind, and code Playground
by Lokesh Yadav
JavaScript
var getContent = function(args){
alert('A)
$.each(args, function (index, key, value) {
alert(index)
});
}
getContent({
head: {
url: "/Home/Head.html",
selector: $("head"),
source: "head"
},
header: {
url: "/Home/Header.html",
selector: $('#bws-header'),
source: "header"
},
footer: {
url: "/Home/Footer.html",
selector: $('#bws-footer'),
source: "footer"
}
});