Formulário Web

1. Formulário Web

Stelio klesio Adriano Moiane
steliomo

(usa Debian)

Enviado em 20/04/2010 - 07:33h

Oi galera!!

agradeco desde ja a vossa colaboracão!!

é o seguinte eu tenho uma interface baseada em tabelas e iframes no entanto pretendo manipular a pagina carregada no iframe atraves da pagina principal, ou seja , escolher um determinado mes e ele me retornar o numero de meses na pagina do iframe!!

as interfaces são as seguintes:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Add Mosquitoes</title>
</head>
<body bgcolor="#F0F0F0">
<label><%=msg %></label>
<table border="0">
<tr>
<td>
<form name="wt1" method="post" action="" >
<fieldset>
<table>
<tr class="alin1">
<td><label for = "Mes">Mes</label><br>
<select name="month" class ="select1">
<option value="Janeiro">Janeiro</option>
<option value="Fevereiro">Fevereiro</option>
</select></td>
</tr>
</table><br>

<table>
<tr><td valign="top" colspan="9"><iframe name="captured" scrolling="auto" style="border: 2px solid #338BA6;" src="tabela.jsp" height="280" width="820"></iframe></td></tr>
</table>
<br>
</fieldset>
</form>
</td>
</tr>
</table>
</body>
</html>

tabela.jsp
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Captured Mosquitos</title>
</head>
<body>
<form name="wt1" method="post" action="">

<table border="0">
<%for(int i=1;i<=nrdias;i++){ %>
<tr>
<td><input type="text" value="<%=i %>" readonly="readonly" name="day" class = "inp"></td>
<td><input type="text" maxlength="1" value="0" name="gambiae_f " class = "inp2"></td>
<td><input type="text" maxlength="1" value="0" name="gambiae_m " class = "inp2"></td>
<td><input type="text" maxlength="1" value="0" name="funestus_f " class = "inp2"></td>
<td><input type="text" maxlength="1" value="0" name="funestus_m " class = "inp2"></td>
<td><input type="text" maxlength="1" value="0" name="culex_f " class = "inp2"></td>
<td><input type="text" maxlength="1" value="0" name="culex_m" class = "inp2"></td>
<td><input type="text" maxlength="1" value="0" name="outros_f " class = "inp2"></td>
<td><input type="text" maxlength="1" value="0" name="outros_m " class = "inp2"></td>
</tr>
<%} %>
</table>
</form>
</body>
</html>



  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts