/ Published in: JavaScript
How to get client ip address with jQuery
Expand |
Embed | Plain Text
$.getJSON("http://jsonip.appspot.com?callback=?",function(data){ alert( "Your ip: " + data.ip); });
You need to login to post a comment.
math89 on 01/12/10
3 people have marked this snippet as a favorite
ericschweichler
jackkeller
cinnak
How to get client ip address with jQuery
$.getJSON("http://jsonip.appspot.com?callback=?",function(data){ alert( "Your ip: " + data.ip); });
You need to login to post a comment.