I have a little script that copys whats in the drop down. But I want the drop to display the firstname and when the firstname is selected I want it to copy the lastname outside. I need to use an attribute other than \[code\]VALUE\[/code\]\[code\]function copy() { document.getElementById("label").innerHTML=document.getElementById("mySelect").value}\[/code\]\[code\]<select id="mySelect" onchange="copy();"><option value="">Select a person:</option> <option value="http://stackoverflow.com/questions/14563562/firstname" id="lastname">Firstname</option> <option value="http://stackoverflow.com/questions/14563562/firstname" id="lastname">Firstname</option> <option value="http://stackoverflow.com/questions/14563562/firstname" id="lastname">Firstname</option> <option value="http://stackoverflow.com/questions/14563562/firstname" id="lastname">Firstname</option></select>\[/code\]or see here http://jsfiddle.net/r6Fus/