JavaScript - Control de Tabla html

 
Vista:
sin imagen de perfil

Control de Tabla html

Publicado por Sergio Flores Flores (3 intervenciones) el 24/11/2006 00:48:58
El problema es el Sgte: Cuando se solicita que la tabla desaparezca el resto debajo de ella deje ajustarse, sin embargo no lo hace , es decir se mantiene un cuadro vacio, que esteticamente se ve mal.
Cualquier ayuda me sera util ya que soy nuevo en JavaScript
Gracias

En formulario Html esta :
<TABLE id="Table26" cellSpacing="0" cellPadding="0" width="704" border="1" style="DISPLAY:none;VISIBILITY: hidden;BORDER-COLLAPSE: collapse">
..... lo usual..

luego el script

<script language="javascript">
var Nuevo_border = "<%=var_border%>";
var Var_Valor = String("<%=var_border%>");
if (document.getElementById && document.getElementById("Table26").style)
{
if (Nuevo_border = 0 )
{
document.getElementById("Table26").style="DISPLAY:none;VISIBILITY: hidden;BORDER-COLLAPSE: collapse"
}
else
document.getElementById("Table26").style="DISPLAY:inline;VISIBILITY:visible"
}
else alert("Ud. Necesita un navegador mejor !...");
</script>
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Control de Tabla html

Publicado por emi (4 intervenciones) el 24/11/2006 02:32:38
yo usaria los metodos insertRow, insertCell, innerHTML, deleteRow etc
es mucho más facil manejar tablas con esto
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
sin imagen de perfil

RE:tabla esta llena

Publicado por sergio flores (3 intervenciones) el 24/11/2006 13:29:52
Te comento que la tabla esta llena de textBox y Labels y validadores ya que corresponde a un formulario en .net 2003

Gracias

Sergio
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar