title: Hidden field is undefined on Edge and other browser
body: <p>I Team below javascript code working fine on IE 7,8,9 but not in Edge      </p>
  
  <pre><code>function showSavings(expandTag, collapseTag, detailsTag, showSavingsTag, beneficiaryId, value) {
  
      detailsTag.style.display = (value == true ? 'block' : 'none');
      expandTag.style.display = (value == true ? 'none' : 'block');
      collapseTag.style.display = (value == true ? 'block' : 'none');
      showSavingsTag[0].value = (value == true ? 'true' : 'false');
      if (value == true)
      {
          addShownBeneficiary(beneficiaryId)
      }
      else
      {
          removeShownBeneficiary(beneficiaryId);
      }       
  
  }
  </code></pre>
  
  <p>any idea what needs to be corrected to support Edge and other browsers?</p>