buttons

liunx

Guest
how would i make a multi-selection drop-down menu that has a submit button that corresponds to the selection?<!--content-->Try the javascript forum.<!--content-->Or you can buy a program that does it automaticly.<!--content-->What do you mean, "a submit button that corresponds to the selection"? Whatever is selected will be what is submitted. Am I missing something here?<!--content-->I think he means a menu button.<!--content-->ok i used frontpage editor, i made a drop down menu, but with the submit button they provide it does not go to the link that i provide...here is the code for now but all i get when i click on the submit is a page cannot be viewed. is it my POS pc or is it me? any help is welcome, and thanks guys/girls for the fast response. <br />
<br />
<br />
<html><br />
<head><br />
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><br />
<meta name="GENERATOR" content="Microsoft FrontPage 4.0"><br />
<meta name="ProgId" content="FrontPage.Editor.Document"><br />
<title>My Page</title><br />
</head><br />
<br />
<body><br />
<form name="myform" action="do.option.select.D1" method="POST"><br />
<div align="center"><br />
<br><br><br />
<select size="1" name="D1" multiple><br />
<option selected value="http://www.yahoo.com">Yahoo</option><br />
<option value="http://www.msn.com">MSN</option><br />
<option value="http://www.mysite.com">My Site</option><br />
</select><br />
<input type="submit" value="Submit"><br />
<br><br><br />
</div><br />
</form><br />
</body><br />
</html><!--content-->I don't know javascript, but is this a seperate file: do.option.select.D1<br />
<br />
If so, is it in the same folder as the page with the form? If not, where is the code?<!--content-->If you want to create a navbar the easy way go to <!-- w --><a class="postlink" href="http://www.xara.com">www.xara.com</a><!-- w --> and Download <!--more--> the free trial of Xara Webstyle 4<!--content-->thanks again for the help, frontpage is a pos...the "do.option.select.D1" is neither a file(:(is this possible) or code it is just a part of coding for my main page...i think:D<!--content-->OK, so what's supposed to happen when you click 'Submit'? Is it supposed to go to another page (navigation), or are you sending information somewhere (ie; form handling)?<!--content-->all i was using it for was a redirect to popular search engines, and some of my own sites. ex. yahoo selected from my menu would upon hitting submit would go to yahoo not page cannot be found and the same for every other link i enter in the code, but when i hit submit it does not forward(in other words navigation) thanks those programs worked, but not with FP(frontpage)<!--content-->
 
Back
Top