Open a page from a FORM INPUT fieldTag(s): Form


<HTML><HEAD>
<SCRIPT>
function gotoURL(){
  var newURL = document.GotoForm.theURL.value
  document.location.href=newURL
  }
</SCRIPT></HEAD>
<BODY>
<FORM ACTION="JavaScript:gotoURL()" 
      METHOD="GET" 
      NAME="GotoForm">
URL:
<INPUT   TYPE="text" 
          NAME="theURL"  
          SIZE="50" 
          VALUE="http://www.google.com"
     MAXLENGTH="100">
<INPUT TYPE="submit" 
      VALUE="Goto">
</FORM></HTML>

Try it :

URL:

blog comments powered by Disqus