How can I get a html source code of any website using jquery/javascript like php's file_get_content? -
is possible? or require server?
$.get("http://xxxxx.com", function (data) { alert(data); });
that's got doesn't print out anything.
sorry can not retrieve data different domain using jquery due browser security restrictions.
yes can use other scripts perl scrap html data third party url.
by using jquery , ajax retrieve data own web-site.
Comments
Post a Comment