JADE get country jade - Net-Raft.com

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




Just a Web Code Solution

get country jade


 39

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')


By     Created   
The power of the user (%)
7%



The most helpful JADE solutions

how to get client ip address using jade ?how to get client ip address using jade ?JADE

Click to see more ...

  502     126

how to create input element in jade ?how to create input element in jade ?JADE

Click to see more ...

  316     88

Get latitude and longitude in jade ?Get latitude and longitude in jade ?JADE

Click to see more ...

  279     80

Get client country in jade ?Get client country in jade ?JADE

Click to see more ...

  225     75

how to create a input with type password in jade ?how to create a input with type password in jade ?JADE

Click to see more ...

  202     73

Get client city in jade ?Get client city in jade ?JADE

Click to see more ...

  183     62

Get client region in jade ?Get client region in jade ?JADE

Click to see more ...

  168     45

how to get values from an object using jade ?how to get values from an object using jade ?JADE

Click to see more ...

  152     35

how to create for loop in jade ?how to create for loop in jade ?JADE

Click to see more ...

  118     32

how to get month in jade ?how to get month in jade ?JADE

Click to see more ...

  103     24