I have this html:
function check_status(obj){ var uid = obj.options[obj.selectedIndex].getAttribute('data'); alert(uid); }