Forums
This topic is locked
URL Selecter
Posted 07 Jan 2004 20:44:01
1
has voted
07 Jan 2004 20:44:01 Cain Howlin posted:
I have code - shown below... for a url to be typed into the field and 'go' opens the url, nice, but I'd like to target the link to another frame... anyone help? thanks<script language="JavaScript" type="text/javascript">
function go1(){
if (document.selecter1.select1.value != "none"

location = document.selecter1.select1.value
}
}
</script>
<form name="selecter1">
<input type="text" name="select1" size="40">
<input name="button" type="button" onClick="go1()" value="Go">
</form>
Replies
Replied 09 Jan 2004 18:22:11
09 Jan 2004 18:22:11 Janusz Jasinski replied:
Go here: javascript.internet.com/
Maybe going to the j/script forum would have been a better idea :d
janusz
======================
www.xlibris.co.uk
janusz.co.uk
ASP | VBScript | IIS 5.1 | Windows XP Pro | Linux Redhat 9 | SuSE 9 Pro | Linux FreeBSD 4.9 | PHP 5.0.0 Beta 2 | MySQL 4.0 | Apache 2.0.48 | Macromedia Studio w/t Flash 2004 | Microsoft Office Pro 2003 | Mozilla Firebird 0.7 | IE 6 | B.O.R.E.D @ HoMe
Maybe going to the j/script forum would have been a better idea :d
janusz
======================
www.xlibris.co.uk
janusz.co.uk
ASP | VBScript | IIS 5.1 | Windows XP Pro | Linux Redhat 9 | SuSE 9 Pro | Linux FreeBSD 4.9 | PHP 5.0.0 Beta 2 | MySQL 4.0 | Apache 2.0.48 | Macromedia Studio w/t Flash 2004 | Microsoft Office Pro 2003 | Mozilla Firebird 0.7 | IE 6 | B.O.R.E.D @ HoMe