Код кода копирования следующим образом:
<!
<html>
<голова>
<Tilt> select.html </title>
<meta http-eviv = "Keywords" content = "Keyword1, Keyword2, Keyword3">
<meta http-equiv = "description" content = "Это моя страница" >>
<meta http-equiv = "content-type" content = "text/html; charset = utf-8">
<!-<link rel = "styleSheet" type = "text/ css" href = "./ styles.css">->
</head>
<тело>
<select id = "mycourse" onchange = "getCourse ();">
<option value = "" select> -please Выберите курс- </option>
</select>
<textarea id = "myares" row = "10" cols = "30"> </textarea>
<script type = "text/javascript" type = "text/javascript">
<!-
var last_select_num = 3;
// динамически добавить первый курс
var myoption = document.createElement ("опция");
myoption.value = "java";
myopting.text = "java";
mycourse.add (Myoption);
// динамически добавить второй курс,
myoption = document.createElement ("опция");
myoption.value = "oracle";
myopting.text = "oracle";
mycourse.add (Myoption);
// динамически добавлять третий курс,
myoption = document.createElement ("опция");
myoption.value = "javaee";
myopting.text = "javaee";
mycourse.add (Myoption);
function getCourt () {{)
myares.value += "Вы выбрали:" +mycourt.value +"/r/n";
}
->
</script>
</body>
</html>