Introduction:
Here
I will explain how to get user current location details IP address, country, city,
state, latitude and longitude using smart-ip json url in JavaScript using asp.net in C#, VB.NET.
Description:
In previous articles I explained jQuery Shake image on mouse over, jQuery upload multiple files using multiple file upload plugin, jQuery fancy switch on and off effects example and many articles relating to JavaScript, jQuery, asp.net. Now I will explain how to get current user location details IP address, country, city, state, latitude and longitude using smart-ip json url in JavaScript.
In previous articles I explained jQuery Shake image on mouse over, jQuery upload multiple files using multiple file upload plugin, jQuery fancy switch on and off effects example and many articles relating to JavaScript, jQuery, asp.net. Now I will explain how to get current user location details IP address, country, city, state, latitude and longitude using smart-ip json url in JavaScript.
To get current user location details I am using smart-ip.net json string to get all the information for that you need to write the following code