hardware,
<!DOCTYPE HTML>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<div id="discount_cal">
<input name="discount" type="radio" checked value="1">Без скидки |
<input name="discount" type="radio" value="5">5% скидка |
<input name="discount" type="radio" value="10">10% скидка |
<input name="discount" type="radio" value="20">20% скидка |
<input name="discount" type="radio" value="30">30% скидка
</div>
<script>
var $cal = $('#discount_cal'),$dis = $('[name=discount]'),
foo = function ()
{
alert($(':checked',$cal).val())
};
foo();
$cal.on('click', $dis, foo)
</script>
</body>
</html>