Javascript pick list returns File Not Found error

I have a simple JS pick list (included below) that is modeled on another I wrote that works correctly. When I select an item in the list and click 'Go', I get a page with 'file:///.../undefined' displayed in the location bar in IE and Firefox; in Firefox the error console shows:
Error: uncaught exception: [Exception... "File error: Not found"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: file:///F:/MSProject%20Web%20Page/test2.html :: go :: line 9"  data: no]
The target file is in the directory in question, but the error message suggests that something is wrong with the code. I need to solve this ASAP for a deliverable that is becoming overdue. Any help would be appreciated.
This is a test pick list:
<script language="JavaScript" type="text/javascript">
function go(){
if(document.selecter.select1.options[document.selecter.select1.selectedIndex].Value !="none"){
location = document.selecter.select1.options[document.selecter.select1.selectedIndex].Value
<script language="JavaScript" type="text/javascript">
document.write('<form name="selecter"><select name="select1" size=1>');
document.write('<option value ="test.html">Test Doc');
document.write('<input type="button" Value="Go" onclick="go()">');
//end hiding contents-->

Open in new window

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Michel PlungjanIT ExpertCommented:
JS is case sensitive
.value instead of .Value

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Michel PlungjanIT ExpertCommented:
I would write it like this

<script language="JavaScript" type="text/javascript"><!--
function go(theForm){ 
  var loc = theForm.select1.options[theForm.select1.selectedIndex].value;
  if (loc!="none") window.location = loc;
  return false;
window.onload=function() {
// --></script>
This is a test pick list:
<script language="JavaScript" type="text/javascript"><!--
var text = '<form onSubmit="return go(this)">'+
'<select name="select1" size=1>'+
'  <option value ="none">Please select</option>'+
'  <option value ="test.html">Test Doc</option>'+
'<input type="submit" value="Go" />'+
// -->

Open in new window

dgmoore1Author Commented:
I knew it was something simple - I'm editing in Notepad and it's hard to spot U/C "V" vs. L/C "v", especially with eyes as old as mine.  Many thanks!!
Michel PlungjanIT ExpertCommented:
Suggestion: test in Firefox - the javascript console would most likely tell you the error
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.