jQuery Get remote site’s Response client-side
Recuperare la Response di un sito remoto lato client con jQuery
E’ possibile ottenere lato-client il contenuto della Response di un sito remoto utilizzando la funzione $get di jQuery.
<html> <head> <script src="jquery-1.4.2.min.js" type="text/javascript"></script> <script language="javascript"> $.get("http://www.google.it", function(data){ document.write(data); }); </script> </head> <body> </body> </html>
Enjoy snippet!
1 commento