Hi Everyone, I have a survey where I want the text entry box to be displayed when the customer clicks on the 'Other' radio button and hides when unclicks it. I tried the below code. It is working fine but it is not helping to hide the text box again when customer unclick the 'Other' option jQuery('input:text').hide(); jQuery("[type='checkbox']").change(function(){ if(jQuery(this).prop("checked") == true){ var v1 = jQuery(this).attr("id"); jQuery("[id='"+v1+"~TEXT']").show(); }else{ var v1 = jQuery(this).attr("id"); jQuery("[id='"+v1+"~TEXT']").val(''); jQuery("[id*='"+v1+"~TEXT']").hide(); } }); Can someone help, please? Much appreciated!
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.