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 -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -