title: form value disappear when clicked
body: <p>I have a question with 6 radio buttons, so they are coded 1,2,3,4,5,99, there is also a text box to enter verbatim answers. If codes 1-5 have been selected then the value in the text box will disappear, if code 99 is selected then the answer in the text box will show up.</p>
  
  <p>However as soon as I click on the text box to edit the verbatim entered earlier, all texts within the text box will disappear, </p>
  
  <p>ID of the text box is: Q6_99_other</p>
  
  <p>And here is the script:</p>
  
  <pre><code>var txt = "";
  $('#fieldset_Q6 input').parent().each(function () {
      $(this).click(function () {
          //alert('checked');
  
          $('#Q6_99_other').on('keyup change', function () {
              txt = this.value;
          })
  
          var id = $(this).children().attr('id');
          if (id == 'Q6_1_99') {
              $('#Q6_99_other').val(txt);
          } else {
              $('#Q6_99_other').val('');
          }
  
      });
  });
  </code></pre>
  
  <p>Anyone with any suggestions? perhaps I need to modify the "keyup change" part of the script?</p>
  
  <p>Many thanks,
  Roy</p>