webdesign_123
08-25-2002, 01:13 PM
For my web site, I have a password reminder section where the user enters the first part of his/her email address, then it directs them to a page designed for them (the address being the first part of their email address) with a secret question/answer form. Can I edit the script below, so that the form automatically adds .html to the end of the email address?
This is the script I use:
<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
*/
function jumpit(){
window.location=document.jumpurl1.jumpurl2.value
return false
}
</script>
:) Thanks for any help :)
This is the script I use:
<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
*/
function jumpit(){
window.location=document.jumpurl1.jumpurl2.value
return false
}
</script>
:) Thanks for any help :)