How to parse json file in jquery?

$(document).ready(function () {
 $(document).on("click", ".load", function () {

$.ajax({ 
 url: 'http://www.cstrade.club/priceData.json', 
 dataType: "json", 
 success:function(date){ 
console.log(date);
} 
}); 

});
});

here is the code but it throws an error 5a2c9257ef9fd579987644.png
June 10th 19 at 16:35
1 answer
June 10th 19 at 16:37
Parsing nothing to do with.

Written in red and white: you have a website on https and the resource you request via http. Unsafe, the request is blocked.

Even in gugltransleyt error copy, that is.

Find more questions by tags JSON