Node.js examples for HTML:Select Option
Add Multi <select>
function addMultiSelect(source,target){ var oDest=document.getElementById(target); for (var i=0;i<document.getElementById(source).options.length;i++) { /*from w w w. j ava 2s . c o m*/ var e=document.getElementById(source).options[i]; if (e.selected){ insert(oDest,e.innerText,e.value); } } oDest=document.getElementById(source); // removeSelected(oDest); }