frenchtaquito
Technical User
Hi, I am a fairly inexperienced javascript user. I got this script from a free script site and it is almost what I need except that I would like to use an image(my own button) instead of the "go" button to activate it. (The script lets someone type in a url and the button submits it).
Can anyone help me with this?
Thanks in advance!
Ginger
Here is the script-
<form name="jumpurl1" onSubmit="return jumpit()">
<input type="text" size=30 name="jumpurl2" value="<input type="button" value="Go!" onClick="jumpit()">
</form>
<script>
/*
URL jump box
By JavaScript Kit (Over 200+ free scripts here!
*/
function jumpit(){
window.location=document.jumpurl1.jumpurl2.value
return false
}
</script>
<p align="center"><font face="arial" size="-2">This free script provided by</font><br>
<font face="arial, helvetica" size="-2"><a href="Kit</a></font></p>
Can anyone help me with this?
Thanks in advance!
Ginger
Here is the script-
<form name="jumpurl1" onSubmit="return jumpit()">
<input type="text" size=30 name="jumpurl2" value="<input type="button" value="Go!" onClick="jumpit()">
</form>
<script>
/*
URL jump box
By JavaScript Kit (Over 200+ free scripts here!
*/
function jumpit(){
window.location=document.jumpurl1.jumpurl2.value
return false
}
</script>
<p align="center"><font face="arial" size="-2">This free script provided by</font><br>
<font face="arial, helvetica" size="-2"><a href="Kit</a></font></p>