STYLE SWITCHER

Get Geo Location with 2 lines of JavaScript

2-1920x

This is how you can get a user geographical (geo) location using just 2 lines of JavaScript code. The first line loads the geo location JavaScript file and the second alerts the users location (inside a document ready which can be on one line).

http://www.sitepoint.com/geo-location-2-lines-javascript/

Recent Article

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.