Given you use the extention and your field to fill got the class userName
assigned
Then tweak it to assign values to class like this:
$.ajax({
url: "${resourcesFolderName}/test.php",
type: "GET",
success: function(data){
var arr = JSON.parse(data);
hypeDocument.setInnerHtmlByClass ('userName', arr["username"]);
//... other fields here if needed
}
});
@DBear that's collaboration . In general the world needs more of this and not liberal (capitalistic) survival of the fittest