Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
</head>
<body>
<script type="text/coffeescript">
$ ->
callback = (response) -> alert response.ip
$.get "https://ipinfo.io", callback, 'json'
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/coffee-script/1.7.1/coffee-script.min.js"></script>
<h1 id="header" style="color:black"></h1>
</body>
</html>
The most helpful COFFEESCRIPT solutions
how to set color using coffeescript ?COFFEESCRIPT
Click to see more ...
952
79
How to get ip address using coffeescript ?COFFEESCRIPT
Click to see more ...
803
42
How to detect mobile device not tablet using coffeescript ?COFFEESCRIPT
Click to see more ...
669
39
How to detect the browser opera using coffeescript ?COFFEESCRIPT
Click to see more ...
665
36
how to create alert using coffeescript ?COFFEESCRIPT
Click to see more ...
417
31
detect browser coffeescriptCOFFEESCRIPT
Click to see more ...
472
27
how to create else if condition using coffeescript ?COFFEESCRIPT
Click to see more ...
501
16
how to create callback using coffeescript ?COFFEESCRIPT
Click to see more ...
464
16
detect mobile coffeescriptCOFFEESCRIPT
Click to see more ...
422
15
how to create get function in coffeescript ?COFFEESCRIPT
Click to see more ...
670
16