$(document).ready(function() {
// check the value of price and accoring to that update
// id=amount, name=text1(-not work), print inside <div id=amount> and  <span id=amount>
$(".toprint").click(function(e1) {
	$('div#toprint').jqprint();
	return false;
});

$("input[name='price']").change(function e2 () {
	$("#amount").val($("input[name='price']:checked").val())
	$("text1").val($("input[name='price']:checked").val())
	$("div#amount").text($("input[name='price']:checked").val());
	$("span#amount").text($("input[name='price']:checked").val());
	return false;
});

});


