title: Javascript - Simple - getting an Ip from a URL
body: <p>I am simply trying to achieve something like this:</p>
  
  <pre><code>function getIp() {
  var urlenter = document.getElementById('io');
  var IPOUT = urlenter.IpAdress !------HERE!!!!!!!!------!
  
  location.href = IPOUT;
  }
  </code></pre>
  
  <p>so if I typed 'facebook.com' in 'io' it would set the href to the ip adress of facebook.com</p>