andrewsheldon98
07-15-2002, 05:36 PM
how can i change the code below so when i type a url in the text box the link will open up in a specified frame window called "gohttp".
<form name="jumpurl1" onSubmit="return jumpit()">
<input type="text" size=30 name="jumpurl2" value="http://">
<input type="button" value="Go!" onClick="jumpit()">
</form>
<script>
function jumpit(){
window.location.=document.jumpurl1.jumpurl2.value
return false
}
</script>
<form name="jumpurl1" onSubmit="return jumpit()">
<input type="text" size=30 name="jumpurl2" value="http://">
<input type="button" value="Go!" onClick="jumpit()">
</form>
<script>
function jumpit(){
window.location.=document.jumpurl1.jumpurl2.value
return false
}
</script>