YodawgWzup
New Member
i have one URL:- Link
i want to change there lat and lng value
i have one code to get region name and latitude and longitude value from IP address
this is my code:-
\[code\]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" href="http://stackoverflow.com/questions/15781723/index.css"> <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 region= geoip_city(); var lan=geoip_latitude(); var lng=geoip_longitude() $('div').html(region) alert(lan); alert(lng); } </script> <body onload="load()"> <div></div> </body> </head></html>\[/code\]
with this code i have alert one latitude and longitude value.
i want to change on my given url link with this lat and lng value.
i want to change there lat and lng value
i have one code to get region name and latitude and longitude value from IP address
this is my code:-
\[code\]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" href="http://stackoverflow.com/questions/15781723/index.css"> <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 region= geoip_city(); var lan=geoip_latitude(); var lng=geoip_longitude() $('div').html(region) alert(lan); alert(lng); } </script> <body onload="load()"> <div></div> </body> </head></html>\[/code\]
with this code i have alert one latitude and longitude value.
i want to change on my given url link with this lat and lng value.