ciao, devo fare in modo che cliccando su un radio button mi si visualizzi un check che era nascosto.
ho qualche difficoltà:
function mostra_flag_layout();
{
alert ("QUI");
if (document.getElementById('id_flag_layout').style.d isplay='none')
{
document.getElementById('id_flag_layout').style.di splay='inline';
}
else
{
document.getElementById('id_flag_layout').style.di splay='none';
}
}
<input type="radio" name="rad_formato" class="adm-testo" value="testo" onClick="mostra_flag_layout();">test0
<input type="radio" name="rad_formato" class="adm-testo" value="html" onClick="mostra_flag_layout();">html
<input type="checkbox" name="che_flag_layout" class="adm-testo" id="id_flag_layout" style="display: none;"><span class="adm-testo" id="id_flag_layout" style="display: none;">utli</span>
ho qualche problema perchè quando clicco nel radio button non mi mostra QUI.
come posso fare ?
grazie cia