$(document).ready(function() { $('.mamm').click(function(){ var one = parseInt($("input[type='radio'].one:checked").val()); var two = parseInt($("input[type='radio'].two:checked").val()); var three = parseInt($("input[type='radio'].three:checked").val()); var four = parseInt($("input[type='radio'].four:checked").val()); var five = parseInt($("input[type='radio'].five:checked").val()); var six = parseInt($("input[type='radio'].six:checked").val()); var seven = parseInt($("input[type='radio'].seven:checked").val()); var eight = parseInt($("input[type='radio'].eight:checked").val()); var nine = parseInt($("input[type='radio'].nine:checked").val()); var ten = parseInt($("input[type='radio'].ten:checked").val()); var eleven = parseInt($("input[type='radio'].eleven:checked").val()); var twelve = parseInt($("input[type='radio'].twelve:checked").val()); var thirteen = parseInt($("input[type='radio'].thirteen:checked").val()); var fourteen = parseInt($("input[type='radio'].fourteen:checked").val()); var fifteen = parseInt($("input[type='radio'].fifteen:checked").val()); var sixteen = parseInt($("input[type='radio'].sixteen:checked").val()); var seventeen = parseInt($("input[type='radio'].seventeen:checked").val()); var eighteen = parseInt($("input[type='radio'].eighteen:checked").val()); var nineteen = parseInt($("input[type='radio'].nineteen:checked").val()); var twenty = parseInt($("input[type='radio'].twenty:checked").val()); var total = one + two + three + four + five + six + seven + eight + nine + ten + eleven + twelve + thirteen + fourteen + fifteen + sixteen + seventeen + eighteen + nineteen + twenty; $('.score').html(total); }); });
October.26.15Press
long-life-and-prosperity
Money Matters with Nimi
0 Comments

http://www.moneymatterswithnimi.com/wp-content/uploads/2015/10/This-money1.pdf

Share This:

Leave a Reply

Money Smart Kids
Book Review : A - Z of Personal Finance
Nimi's A-Z of Entrepreneurship
Subscribe to InstaVoice
nimi on radio
follow nimi