My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Numero de formularios</title>
</head>
<body>
<h1>Numero de formularios</h1>

<h2>Datos personales</h2>
<form id="personales">
<label for="nombre">Nombre:</label><input type="text" id="nombre"/><br/>
<label for="nombre">Apellido:</label><input type="text" id="apellido"/>
</form>

<h2>Datos de la incidencia</h2>
<form id="incidencia">
<textarea rows="4" cols="10"></textarea>
</form>

<form id="form_test">
<button>Boton</button>
</form>

<form id="oculto"></form>

<script type="text/javascript">
document.write("El numero de formularios del documento es de " + document.forms.length);
</script>

<br><br>
<hr>
Art&iacute;culo disponible en: <a href="http://lineadecodigo.com/2008/02/27/cuantos-formularios-hay-en-mi-pagina/">http://lineadecodigo.com/2008/02/27/cuantos-formularios-hay-en-mi-pagina/</a><br/>
<a href="http://lineadecodigo.com" title="Linea de Codigo">lineadecodigo.com</a>


</body>
</html>

Change log

r32 by vcuervo on Feb 27, 2008   Diff
Cuantos formularios hay en mi página
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 1133 bytes, 38 lines
Powered by Google Project Hosting