I would like to read my ip address from the following page(http://l2.io/ip or other) using javascript to save him in my variable \"myIp\".
function getMyIP()
$.ajax({ url: '//freegeoip.net/json/', type: 'POST', dataType: 'jsonp', success: function(location) { alert(location.ip); } });
This will work https too