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

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -