# Javascript change labels with drop down menu

**URL:** <https://forum.kirupa.com/t/javascript-change-labels-with-drop-down-menu/160858>\
**Category:** web dev\
**Created:** [August 30, 2005, 2:05am UTC](https://forum.kirupa.com/t/javascript-change-labels-with-drop-down-menu/160858 "2005-08-30T02:05:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dinkumrocks](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@dinkumrocks](https://forum.kirupa.com/u/dinkumrocks)\
**Post date:** [August 30, 2005, 2:05am UTC](https://forum.kirupa.com/t/javascript-change-labels-with-drop-down-menu/160858/1 "2005-08-30T02:05:01Z")

</div>

Ok. I have a form for bands to fill out to add an event to the database. It’s all working, but i need to work on the cosmetic stuff.

There are 3 types of events… Show, TV, and Interview.

What i need is when one of the types is selected, the label of all the other input boxes change to what fits the type. When i say label, i mean a div or something.

Im guess it would be something like…

If (dropdown.value == “Show”){  
divlabel1.value ==“Cost of Show”}

or something. I suckat js, so yea…

If you dont get what im saying, then please tell me and ill ellaborate more.

Thanks for any help,  
-Naaman
