<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>задача по ТП</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
</head>
<body>
<script type="text/javascript">
function kop()
{
//var sender=document.getElementById(id);
var kuda = document.getElementById("sel").value;
//alert(kuda)
var color = document.getElementById("col").value;
//alert(color)
if(kuda == 1)
{
if(color == 11)
{
document.getElementById('a1').style.background = 'red';
}
if(color == 12)
{
document.getElementById('a1').style.background = 'blue';
}
var sender = document.getElementById("a1");
var chto = document.getElementById("a").value;
sender.innerHTML='<p>'+chto+'</p>'
}
... Читать дальше »