How to get data from another website in JavaScript code example
Example: how to get data from another website in javascript
$.ajax({
url: 'https://www.google.ca',
success: function(response){
console.log(response.string);
},
error: function(response){
console.log('server error');
}
})