Reputation: 39
i want to use jquery client side to load linkedin profile page using this code :
$.get( "https://dz.linkedin.com/pub/arezki-lebdiri/75/a51/4b5", function( data ) {
$( ".result" ).html( data );
alert( "Load was performed." );
});
and i get this error :
XMLHttpRequest cannot load https://dz.linkedin.com/pub/arezki-lebdiri/75/a51/4b5. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
so any help please to change 'Access-Control-Allow-Origin' in the browsr
Upvotes: 2
Views: 86
Reputation:
just use this chrome extension to allow to you request any site with ajax from any source
Upvotes: 1