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

javascript - Create websocket without connecting -

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

android - Linear layout children not scrolling -