Created
September 22, 2008 21:18
-
-
Save zaach/12163 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
// callback function | |
function getip(json){ | |
alert(json.ip) // alerts the ip address | |
} | |
</script> | |
<script type="text/javascript" src="http://jsonip.appspot.com/?callback=getip"> </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment