How to get client ip address in javascript of jquery?

How to get client ip address in javascript of jquery?

Sometime you need to save visitor's ip address using javascript or jquery.

jQuery handle JSONP so it's very easy to get client ip address by passing url formatted with the callback=? parameter with $.getJSON request.

You can also use $.get request to get ip address with data type jsonp.

  1. <html lang="en">
  2. <head>
  3. <title>How to get client ip address in javascript or jquery?</title>
  4. <script type="text/javascript" src=""></script>
  5. </head>
  6. <body>
  7. <h1>Your Ip Address ( : </h1>
  8. <span id="ip"></span>
  9. <h1>Your Ip Address ( : </h1>
  10. <span id="ip1"></span>
  11. <script type="text/javascript">
  12. $.getJSON("", function (response) {
  13. $("#ip").text(response.ip);
  14. });
  15. $.get("", function(response) {
  16. $("#ip1").text(response.ip);
  17. }, "jsonp");
  18. </script>
  19. </body>
  20. </html>

Phone: (+91) 8800417876
Noida, 201301
ataşehir escort maltepe escort bostancı escort kadıköy escort maltepe escort ataşehir escort tuzla escort pendik escort ümraniye escort kartal escort
pendik escort
izmir escort izmir escort izmir escort izmir escort denizli escort antalya escort antalya escort antalya escort izmir escort izmir escort izmir escort izmir escort izmir escort
hatay escort nevsehir escort nigde escort kirikkale escort batman escort osmaniye escort kirklareli escort tokat escort rize escort adiyaman escort gumushane escort batman escort
porno izle
cialis satış cialis fiyat cialis 20 mg cialis 100 mg cialis 5 mg fiyat
sohbet okey oyna
ankara escort marmaris escort bursa escort mersin escort antalya escort izmir escort samsun escort bodrum escort çeşme escort kuşadası escort adana escort eskişehir escort gaziantep escort esenyurt escort pendik escort tuzla escort fatih escort ümraniye escort mecidiyeköy escort kartal escort bahçelievler escort bahçeşehir escort ataşehir escort bakırköy escort nişantaşı escort avcılar escort büyükçekmece escort kurtkoy escort konya escort beşiktaş escort taksim escort beylikdüzü escort malatya escort sakarya escort şişli escort maltepe escort kadıköy escort ataköy escort bostancı escort şirinevler escort bağcılar escort üsküdar escort etiler escort başaksehir escort ortaköy escort kağıthane escort sultangazi escort halkalı escort çekmeköy escort şaşkınbakkal escort mamak escort sincan escort keçiören escort çankaya escort beypazarı escort akyurt escort pursaklar escort kahramankazan escort göztepe escort alsancak escort bornova escort buca escort karabaglar escort karşıyaka escort konak escort narlıdere escort izmit escort başiskele escort kandira escort körfez escort karamürsel escort dilovası escort gölcük escort gebze escort kocaeli escort kayseri escort elazığ escort denizli escort diyarbakir escort adana escort ankara escort izmir escort antalya escort gaziantep escort kayseri escort konya escort mersin escort denizli escort kocaeli escort diyarbakır escort