ive tried the following :
<html>
<head>
<script type="text/javascript" language="JavaScript">
<!--
function GoToURL() {
var URLis;
URLis = document.myForm.Dest.value
if (URLis == "" || URLis.length <= 8)
{
alert('\nOops!\n\nYou must enter a valid URL');
}
else
{
this.location.href = URLis;
}
}
//-->
</script>
</head>
<body>
<form name="myForm">
<input type="text" value=" name="Dest">
<input type="button" value="go to url" onClick="GoToURL()">
</form>
</body>
</html>
but that doesnt work, basically i want people to enter any url (like an address bar) and click Go! to visit the url they have typed in. can someone give me the information to input this onto my site?
thanks
<html>
<head>
<script type="text/javascript" language="JavaScript">
<!--
function GoToURL() {
var URLis;
URLis = document.myForm.Dest.value
if (URLis == "" || URLis.length <= 8)
{
alert('\nOops!\n\nYou must enter a valid URL');
}
else
{
this.location.href = URLis;
}
}
//-->
</script>
</head>
<body>
<form name="myForm">
<input type="text" value=" name="Dest">
<input type="button" value="go to url" onClick="GoToURL()">
</form>
</body>
</html>
but that doesnt work, basically i want people to enter any url (like an address bar) and click Go! to visit the url they have typed in. can someone give me the information to input this onto my site?
thanks