I have code :
function compute() { if ($(\'input[name=type]:checked\').val() != undefined) { var a = $(\'input[name=service_price]\').val();
if in multiple class you want to change additional operation in perticular class that show in below example
$('.like').click(function(){ var like= $(this).text(); $(this).text(+like + +1); });