Web Coders Forum

User info

Welcome, Guest! Please login or register.


You are here » Web Coders Forum » JavaScript » Custom Go to URL with JS


Custom Go to URL with JS

Posts 1 to 3 of 3

1

This code is one of a kind i think im going to add this to my own site which i want to create when im done ill let you guys know

[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>[/script]

[text] <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>

[/text]

Post Source: http://wapbent.xtgem.com/index/__xtblog … =1#xt_blog

Last edited by ben28 (25th May 2017 09:49 pm)

0

2

wow nice post

0

3

wow nice post

0

Related topics


You are here » Web Coders Forum » JavaScript » Custom Go to URL with JS