I have json files which contain epoch time in file's name. Like this one
apple1623781928.json
banana1623781928.json
How can I load those json since the name is random, I hope I can find solution like using kind of "*" for neglecting the number or something, like this:
var fruit = "apple";
$.getJSON('fruit'+'(*)'.json, function (result) {
console.log(result);
}
I'm just using JQuery and VanillaJs for this project. Anyone could you help me please? Thanks a bunch.