First
Second
OperationDropDown
DetailText
testForm
Place in the Between Head tag of the page

<Script Language="JavaScript">
function fillText()
{
document.testForm.DetailText.value=document.testForm.OperationDropDown.value;
}
</Script>
Place in the Inside Tag of the dropdown

onChange="fillText()"