John John - 5 months ago 54
jQuery Question

How to get html source code from external url

How can I get html source code from an external web page?

Something like:


I've tried to get content of iframe using:
, but if in my case the webpage doesn't have html tags, just 1 line of text. I can't do it with php
because it doesn't keep session data.

Answer Source

Cross domain? not possible without a server process. If you are on windows and can use HTA you can use the iframe

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download