Necesito saber que esta mal cion este ejemplo
Publicado por fede (1 intervención) el 23/02/2004 22:53:44
<html>
<head>
<script Language =\"JavaScript\">
<!--
function anda(col, fil)
{
document.write(\'<table border=\"1\" >\');
for(i=0; i<col; i++)
{
document.write(\"<tr>\");
for (j=0; j<fil; j++)
{
document.write(\"<td>no anda</td>\");
}
document.write(\"</tr>\");
}
document.write(\"</table>\");
}
//-->
</script>
</head>
<body>
<form name=\"P\" action=\"anda(parceInt(P.col),parceInt(P.fil))\">
columna
<input type=\"text\" name=\"col\">
<br>
fila
<input type=\"text\" name=\"fil\">
<br>
<input type=\"button\" name=\"Crear\" value=\"pon\" OnClick=\"Submit\">
</form>
</body>
</html>
<head>
<script Language =\"JavaScript\">
<!--
function anda(col, fil)
{
document.write(\'<table border=\"1\" >\');
for(i=0; i<col; i++)
{
document.write(\"<tr>\");
for (j=0; j<fil; j++)
{
document.write(\"<td>no anda</td>\");
}
document.write(\"</tr>\");
}
document.write(\"</table>\");
}
//-->
</script>
</head>
<body>
<form name=\"P\" action=\"anda(parceInt(P.col),parceInt(P.fil))\">
columna
<input type=\"text\" name=\"col\">
<br>
fila
<input type=\"text\" name=\"fil\">
<br>
<input type=\"button\" name=\"Crear\" value=\"pon\" OnClick=\"Submit\">
</form>
</body>
</html>
Valora esta pregunta


0