You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
616 B

  1. $(function () {
  2. $("#period-controls :input").change(function() {
  3. if (this.value == "monthly") {
  4. $("#supporter-price").text("$5");
  5. $("#business-price").text("$20");
  6. $("#business-plus-price").text("$80");
  7. }
  8. if (this.value == "annual") {
  9. $("#supporter-price").text("$4");
  10. $("#business-price").text("$16");
  11. $("#business-plus-price").text("$64");
  12. }
  13. });
  14. $('[data-help]').tooltip({
  15. html: true,
  16. title: function() {
  17. return $("#" + this.dataset.help).html();
  18. }
  19. });
  20. });