From 508e68ccfccc606b0ea3f4f68e03cbc2377e9443 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Sat, 21 Mar 2015 23:26:44 -0400 Subject: form's logic almost working --- static/wedding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/wedding.js') diff --git a/static/wedding.js b/static/wedding.js index 015bc83..492c346 100644 --- a/static/wedding.js +++ b/static/wedding.js @@ -24,7 +24,7 @@ $("input:radio[name=language]").change(function(){ $("button[name=login]").text("Login"); } }); -$("input:radio[name=answer]").change(function(){ +$("input:radio[name=rsvp]").change(function(){ var state = $(this).val()=="0"; ["email", "mailing", "plusoneyes", "plusoneno", "kidsyes","kidsno"]. forEach(function(id){ -- cgit v1.2.3-70-g09d2