i am try to load web page content in to div:-
\[code\]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" src="http://j.maxmind.com/app/geoip.js" ></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script> function load(){ var location = "http://services.gisgraphy.com/geoloc/search?lat=43.00034713745117&lng=-75.4999008178711&radius=7000"; $("#siteloader").html('<object data="'+location+'">'); } </script> <body onload="load()"> <div id="siteloader"></div>? </body> </head></html>\[/code\]
with this code done to load web page content into div now i want to store this content in to one \[code\]variable\[/code\] any idea how its possible....
\[code\]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" src="http://j.maxmind.com/app/geoip.js" ></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script> function load(){ var location = "http://services.gisgraphy.com/geoloc/search?lat=43.00034713745117&lng=-75.4999008178711&radius=7000"; $("#siteloader").html('<object data="'+location+'">'); } </script> <body onload="load()"> <div id="siteloader"></div>? </body> </head></html>\[/code\]
with this code done to load web page content into div now i want to store this content in to one \[code\]variable\[/code\] any idea how its possible....