リストでオプションを選択すると、その値がテキストボックス(すべてのhtml)に出力されます。
私は試した
stafflist.setAttribute("onchange", "javacript:document.getElementById('id_17_enrolpassword').value = this.value;");
IE8+ および最新のすべてのブラウザーで動作しますが、IE7 では動作しません。
また試した
stafflist.addEventListener('onchange',"javacript:document.getElementById('id_17_enrolpassword').value = this.value;",false);
では、ここでどのような変更を行う必要がありますか?