javascript - Can get information (.get) -


this question has answer here:

i try fetch information public website area. let's want product name , price of only. when try information site giving me error:

no 'access-control-allow-origin' header present on requested resource. origin 'http://demo.com' therefore not allowed access.

the script use is:

$(document).ready(function() {     $.get("http://www.ebay.com", function(data) {         console.log(data)     }); }); 


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -