Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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');
  }
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #data #website #javascript
ADD COMMENT
Topic
Name
9+4 =