javascript - Copying selected option to another select -


i copy user-selected option 1 "select" "select". want because cannot edit first "select" need information it.

the first select has id of "product-select-option-1". second select:

 <label for="material">material</label>    <select id="material" name="attributes[material]" size="1">         <option value=" " selected="selected">choose material</option>     <option value="0">cotton</option>     <option value="1">silk</option>     <option value="2">tafetta</option>     <option value="3">chiffon</option>    </select> 

any massively appreciated! thank you!


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -