var currentRadio = '';
und
if(currentRadio != '') { currentRadio.style.display = 'none'; }
ist natürlich Schwachsinn, so währe es richtig:
var currentRadio;
und
if(currentRadio) { currentRadio.style.display = 'none'; }
var currentRadio = '';
und
if(currentRadio != '') { currentRadio.style.display = 'none'; }
ist natürlich Schwachsinn, so währe es richtig:
var currentRadio;
und
if(currentRadio) { currentRadio.style.display = 'none'; }