|
Lots of the same select boxes please help!!
Hello, can anyone tell me if it is possable to make a one select box and have it appear in about 50 spots through out the site. I understand it has to be an external file so i can make changes quick and easy. I have tried to use asp and php and javascript and even tried using includes i can seem to figure it out. each box has to have a diff. name because it will be sent to a shopping cart but can have the same id. so i even tried using getelementbyid. please some one point my in the right direction. i have been researching this and reading about it for over a month and updating all those boxes weekly is killing me.
here is what the box has in it
<select name="product2" id="scentlistfull"
<option value= "<em>ANGEL WHISPER</em>"selected="selected">ANGEL WHISPER</option>
<option value= "<em>ANGEL WINGS</em>">ANGEL WINGS</option>
<option value= "<em>APPLE</em>">APPLE</option>
<option value= "<em>BABY MAGIC</em>">BABY MAGIC</option>
<option value= "<em>BABY POWDER</em>">BABY POWDER</option>
<option value= "<em>BLACK CHERRY</em>">BLACK CHERRY</option>
<option value= "<em>BLUEBERRY MUFFIN</em>">BLUEBERRY MUFFIN</option>
<option value= "<em>CHRISTMAS ESSENCES</em>">CHRISTMAS ESSENCES</option>
<option value= "<em>CHRISTMAS TREE</em>">CHRISTMAS TREE</option>
<option value= "<em>CINNAMON APPLE BERRY</em>">CINNAMON APPLE BERRY</option>
<option value= "<em>CINNAMON BUN</em>">CINNAMON BUN</option>
<option value= "<em>CINNAMON SPICE</em>">CINNAMON SPICE</option>
</select>
|