healthchecks/static/js/pricing.js
2020-04-07 12:32:20 +03:00

15 lines
464 B
JavaScript

$(function () {
$("#period-controls :input").change(function() {
if (this.value == "monthly") {
$("#supporter-price").text("$5");
$("#business-price").text("$20");
$("#business-plus-price").text("$80");
}
if (this.value == "annual") {
$("#supporter-price").text("$4");
$("#business-price").text("$16");
$("#business-plus-price").text("$64");
}
});
});