HOW TO GET COUNTRY NAME USING GEOPLUGIN.NET

marcel ethan

Total Post:104

Points:728
Posted by  marcel ethan
 1526  View(s)
Ratings:
Rate this:

Hi I’m make a application where need to get country name where my page is access.

How to possible in jquery.

Thanks in advance.

  1. Samuel Fernandes

    Post:159

    Points:1117
    Re: How to get country name using geoplugin.net

    Try this code:

    <script src="~/Scripts/jquery-2.1.3.min.js"></script>
        <script language="JavaScript" src="http://www.geoplugin.net/javascript.gp" type="text/javascript"></script>
        <title>Index</title>
        <script>
            document.write("Welcome to our visitors" + geoplugin_countryName());
        </script>

      Modified On Apr-09-2018 02:14:01 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!