Hi. I'm trying to build a form that redirects to a page extension matching an input value. (Looking at my code will probably make that more clear.)
When I click on my submit button, nothing happens. Can anybody help? Thanks!
I have this short script in the <head>
<script>
function sendit(){
point = document.ProfitPoint.code.value.toLowerCase()
window.location(" 'http://blurrline.com/'+point+'/htm' "
}
</script>
My url's are case sensitive, so I need the lowercase conversion.
Here's the form code that's in the <body>
<form name="ProfitPoint">
Enter Code:
<input type="text" name="code" size="15">
<input type="button" value="Submit" onClick="sendit()">
</form>



Reply With Quote


Bookmarks