Select a person:
Try putting the onChange attribute in the select tag.
onChange
select
Example: http://jsfiddle.net/r6Fus/
HTML:
Select a person: tcs wipro Hcl krystal kones
Javascript:
function copy() { document.getElementById("label").innerHTML = document.getElementById("mySelect").value }
Otherwise you could use jQuery.