The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Populate multiple dropdown with same text in text area

I am trying to populate exactly five dropdown menus and I want the same code to appear in the text area as selected from the dropdown menu. How do I go about doing this? i KNOW HERE THAT I HAVE DIFFERENT TEXT BUT I CAN CHANGE IT LATER BUT I NEED TO BE ABLE TO POPULATE THE TEXT CORRECTLY? I have some code work done on it. Can some one tweek it to get it working?

<option
value="
As previously reported windows have mineral deposit stains which would require a chemical restoration to remove">

Glass
</option>
<option
value="Building facade is in need of power washing.">

Facade</option>
<option
value="Exterior metal mullions are oxidized and in need of a chemical restoration">
Metal</option>
<option
value="Tie back system on roof may not be ANSI-114 compliant">
Roof</option>
<option
value="Caulking is showing signs of deteriation and is in need of replacement">
Other
</option>

Glass
</option>
<option
value="Building facade is in need of power washing.">

Facade</option>
<option
value="Exterior metal mullions are oxidized and in need of a chemical restoration">
Metal</option>
<option
value="Tie back system on roof may not be ANSI-114 compliant">
Roof</option>
<option
value="Caulking is showing signs of deteriation and is in need of replacement">
Other
</option>
</select>
<input type="text" style= "width: 700px"
id2="sTextB" />
</form>

<form>
<select onchange="loadtext(this);">

<option
value = "">

</option>

<option
value="
As previously reported windows have mineral deposit stains which would require a chemical restoration to remove">

Glass
</option>
<option
value="Building facade is in need of power washing.">

Facade</option>

<option
value="Exterior metal mullions are oxidized and in need of a chemical restoration">
Metal</option>
<option
value="Tie back system on roof may not be ANSI-114 compliant">
Roof</option>
<option
value="Caulking is showing signs of deteriation and is in need of replacement">
Other
</option>

<option
value="
As previously reported windows have mineral deposit stains which would require a chemical restoration to remove">

Glass
</option>
<option
value="Building facade is in need of power washing.">

Facade</option>
<option
value="Exterior metal mullions are oxidized and in need of a chemical restoration">
Metal</option>
<option
value="Tie back system on roof may not be ANSI-114 compliant">
Roof</option>

<option
value="
As previously reported windows have mineral deposit stains which would require a chemical restoration to remove">

Glass
</option>

<option
value="Building facade is in need of power washing.">

Facade</option>
<option
value="Exterior metal mullions are oxidized and in need of a chemical restoration">
Metal</option>
<option
value="Tie back system on roof may not be ANSI-114 compliant">
Roof</option>
<option
value="Caulking is showing signs of deteriation and is in need of replacement">
Other
</option>
</select>
<input type="text" style= "width: 700px"
id4="sTextE" />
</form>
</body>
</html>