×Welcome aboard! We are happy you are here and wish you good net-raft!



Together We Can Simplify The World

the current number of solutions:  2360
.htaccess (1x)    AJAX (13x)    ANGULARJS (161x)    ASP (1x)    ASP.NET (6x)    BACKBONE.JS (47x)    BOOTSTRAP (12x)    C# (224x)    COFFEESCRIPT (28x)    CSS (71x)    HTML (47x)    JADE (34x)    JAVA (51x)    JAVASCRIPT (430x)    JQUERY (390x)    JQUERY MOBILE (5x)    JSON (5x)    LARAVEL (25x)    MYSQL (9x)    NODEJS (162x)    ORACLE SQL (19x)    PERL (2x)    PHP (295x)    PYTHON (10x)    REACT (62x)    RUBY (25x)    RUBY ON RAILS (1x)    SHELL (2x)    SQL (90x)    SQL SERVER (3x)    TYPESCRIPT (51x)    VB.NET (32x)    W3.CSS (6x)    W3.JS (40x)    
join us

click to create your account

get country jade

(jade country )

- JADE

 viewed 31

Comment:
JADE

0

doctype 5
html
head
block head
script(src='https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js ')
body

block content
script.
$(document).ready(function () {
$.getJSON('https://geoip-db.com/json/geoip.php?jsonp=?')
.done (function(location)
{
var country = location.country_name;
console.log($(".myclass").text(country ));
});
});

div(class='myclass')

     

created: 19 days ago

The power of the user (%)

4%

Do you know a little more effective code ? Feel free to optimize ...


haven't you found what you're looking for ?
Write us your question ...
Login is not needed.


The most helpful JADE solutions
Likes Solution Technology
124 how to get client ip address using jade ?JADE
77 Get latitude and longitude in jade ?JADE
69 how to create input element in jade ?JADE
67 how to create a input with type password in jade ?JADE
63 Get client city in jade ?JADE
61 Get client country in jade ?JADE
46 Get client region in jade ?JADE
33 how to create for loop in jade ?JADE
27 how to get values from an object using jade ?JADE
24 how to get month in jade ?JADE
Check out all of JADE ...
The most viewed JADE solutions by country
Solution Country
how to create a input with type password in jade ?Cinque Terre
how to create a input with type password in jade ?Cinque Terre
how to create disabled checkbox with jade ?Cinque Terre
how to get client ip address using jade ?Cinque Terre
how to create disabled checkbox with jade ?Cinque Terre
how to create disabled checkbox with jade ?Cinque Terre