This is my first time using jquery ajax and the geolocation library. Also, using cookies. You can see it in action here: som/geo And the source code here: gist.github.com/ImranCS/a14c0c7f736fc3364f8a Hope the code is self explanatory.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed