I'm not familiar with javascript, but the percentage would still be PHP.
And it would depend on how you're storing the percent in the database (whether when someone clicks yes and you're recalculating the average out of 100%). It's all math from that point.
|