<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="content">
<div id="post-main">
<form action="request.php" method="post" name="feedback">
<table>
<tr><td id="clothes"><img src="images/createclothimg/color/1.jpg"></td>
<td id="func_clothes" width="500">
<p>Выбирете пол:</p>
<p>
<label><input type="radio" name="floor" value="male">Мужской</label>
<label><input type="radio" name="floor" value="female">Женский</label>
</p>
<p>Выберите цвет:</p>
<div id="colorcloth"></div>
</td>
</tr>
</table>
</form>
</div>
</div>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script>
(function() {
var parent = $('#colorcloth');
for (var i = 1; i <= 2; i++) {
var input = $('<input>', {type: 'radio', name: 'color', value: i});
var image = $('<img>', {width: 100, src: 'images/createclothimg/color/' + i + '.jpg'});
parent.append(input, image);
}
$('input', parent).click(function () {
$("#clothes").html("вы навели на кртинку номер 1");
});
})();
</script>
</body>
</html>
Учись, студент