healthchecks/static/js/pricing.js
2018-03-04 20:26:30 +02:00

13 lines
No EOL
334 B
JavaScript

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