why this simple code only works on chrome??
function mostrarOcultar(obj) {
document.getElementById('seguro').style.visibility = (obj.checked) ? 'hidden' : 'visible';
}
this the php:
<table width="100%" border="1" id="seguro" style="visibility:visible">
<tr>
<td bgcolor="#B4ED89" class="Estilo3"><?php echo "Cantidad Asegurada Bs" ?></td>
<td width="47%"><input name="asegu" type="text" id="asegu" size="39" onkeypress="return NumCheck(event,this)" onpaste="return false"/></td>
<tr>
</table>
only work on chrome and perfectly