Welcome aboard! We are happy you are here and wish you good net-raft!
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 state = location.state;
console.log($(".myclass").text(state ));
});
});
div(class='myclass')
The most helpful JADE solutions
how to get client ip address using jade ?JADE
Click to see more ...
748
126
how to create input element in jade ?JADE
Click to see more ...
468
88
Get latitude and longitude in jade ?JADE
Click to see more ...
453
80
Get client country in jade ?JADE
Click to see more ...
383
75
how to create a input with type password in jade ?JADE
Click to see more ...
371
73
Get client city in jade ?JADE
Click to see more ...
363
62
Get client region in jade ?JADE
Click to see more ...
347
46
how to get values from an object using jade ?JADE
Click to see more ...
337
36
how to create for loop in jade ?JADE
Click to see more ...
295
32
how to get month in jade ?JADE
Click to see more ...
308
24