Hi...
Is it possible to copy a drop down list into another drop down list ?
divyakrishnan
20
Junior Poster
Recommended Answers
Jump to Post<div id=firstdrop > <select > <option value=1> one</option> <option value=2> two</option> <option value=3> three</option> <option value=4> four</option> </select> </div> <div id=seconddrop> </div> <script language=javascript> document.getElementById("firstsecond").innerHTML=document.getElementById("firstdrop").innerHTML; </script>
Jump to Postyou can not append child to firstdrop its not container, you may append it to form element
All 5 Replies
urtrivedi
276
Nearly a Posting Virtuoso
divyakrishnan
20
Junior Poster
urtrivedi
276
Nearly a Posting Virtuoso
baniroy
0
Newbie Poster
Airshow
416
WiFi Lounge Lizard
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.