score:0

i don't think onchange works for an input, at least the way you have it written.

you can use jquery's .change like so though:

$('input[name=valuetosocietyscore]').change(function() { ... });

Related Query

More Query from same tag