Янковиц,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
.hot{
border: 1px dashed Gray; padding: 5px; height: 100px; width: 100px
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(function() {
$(".hot").on("click", function(event) {
var parent = $('[name="radio"]:checked').parents("div");
$('[name^="input"]', parent).val(event.pageX + " : "+event.pageY)
})
});
</script>
</head>
<body>
<div class="hot">click me</div>
<div id="div-1">
<input type="radio" name="radio" id="radio-1" value="" >
<input type="text" name="input-1" id="input-1" value="1">
</div>
<div id="div-2">
<input type="radio" name="radio" id="radio-2" value="">
<input type="text" name="input-2" id="input-2" value="2">
</div>
</body>
</html>