From 9a5fddd0025f90b9c3a1d27fbf5f4a68643da11c Mon Sep 17 00:00:00 2001 From: Mike Olund Date: Thu, 9 Mar 2017 15:35:42 -0800 Subject: [PATCH] DIV-222 --- edivorce/apps/core/static/js/controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edivorce/apps/core/static/js/controllers.js b/edivorce/apps/core/static/js/controllers.js index 4ec0c520..25ca3e95 100644 --- a/edivorce/apps/core/static/js/controllers.js +++ b/edivorce/apps/core/static/js/controllers.js @@ -75,7 +75,7 @@ var childSupportCheckboxControl = function(el) { var radioWithTextboxControl = function(el){ // If radio button has other as an option and 'Other' is not selected, update other textbox to empty if (el.is(".radio-with-other") && el.val() != 'Other'){ - var otherTextBox = $(".other-textbox"); + var otherTextBox = el.closest('div.radio').parent().find(".other-textbox"); otherTextBox.val(''); ajaxCall(otherTextBox.prop('name'), ''); }