# Drop Down Menus

**URL:** <https://forum.kirupa.com/t/drop-down-menus/102014>\
**Category:** Uncategorized\
**Created:** [February 18, 2004, 10:05pm UTC](https://forum.kirupa.com/t/drop-down-menus/102014 "2004-02-18T22:05:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravi](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@Ravi](https://forum.kirupa.com/u/Ravi)\
**Post date:** [February 18, 2004, 10:05pm UTC](https://forum.kirupa.com/t/drop-down-menus/102014/1 "2004-02-18T22:05:53Z")

</div>

Hello everyone, I have one simple question. My drop down menu has all the links put in, post, & target filled out. However, it doesn’t fully work, unless I have something in the ‘Action’ area of the form.  
Could someone please tell me what I should put for the form “Action.” The tutorial suggested “…/cgi-bin/redirect.pl” but it led to an error page. Am I suppose to configure this through my cpanel? If so, how do I do that? :q: :q: :q:  
Thank you greatly.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 19, 2004, 2:16am UTC](https://forum.kirupa.com/t/drop-down-menus/102014/2 "2004-02-19T02:16:37Z")

</div>

You should put the file that the data you select will be proccessed

For ex:  
Let’s say that in mail.html you have the form and action=“sendmail.php” you enter your name,message and etc.When you click submit button, all the information you typed in is carried yo sendmail.php and it processes the data.(Send mail to you or someone)

If you explain in detail what you are trying to do, i can help you

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 19, 2004, 6:09pm UTC](https://forum.kirupa.com/t/drop-down-menus/102014/3 "2004-02-19T18:09:57Z")

</div>

Thank you for responding Overflow. My problem is specifically this:  
On one of my web pages, I have installed a drop down menu. For ex.- There is form box with links to the other pages on my site. On the form box, the visitor clicks the ‘down arrow’ on the side of the box & chooses the link the wish to see, & then click 'go.'  
To the best of my knowledge, that is called a drop down menu.  
My problem is, the javascript is put in & everything… but the menu won’t work unless I put an ‘Action’ path. :puzzle: I have no clue what to put. If I’m suppose to configure it through my cpanel, could you please tell me how.:h:

Thank you again.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 19, 2004, 7:54pm UTC](https://forum.kirupa.com/t/drop-down-menus/102014/4 "2004-02-19T19:54:37Z")

</div>

I am not good at js but here is a similar code you might use.

\<html\>  
\<head\>  
\<title\>Untitled Document\</title\>  
\<meta http-equiv=“Content-Type” content=“text/html; charset=windows-1254”\>  
\<script language=“JavaScript” type=“text/JavaScript”\>  
\<!–  
function MM\_jumpMenu(targ,selObj,restore){ [//v3.0](https://v3.0)  
eval(targ+".location=’"+selObj.options[selObj.selectedIndex].value+"’");  
if (restore) selObj.selectedIndex=0;  
}  
//–\>  
\</script\>  
\</head\>

\<body\>  
\<form name=“form1” method=“post” action="" onSubmit=“MM\_jumpMenu(‘parent’,this,0)”\>  
\<select name=“menu1” onChange=“MM\_jumpMenu(‘parent’,this,0)”\>  
\<option selected\>Select a Page\</option\>  
\<option value=“index.html”\>Main Page\</option\>  
\<option value=“pictures.html”\>Pictures\</option\>  
\</select\>  
\</form\>  
\</body\>  
\</html\>
