radio how to get the value of A? ? ? ? ? ? ? ? ? ? ? ? ? ?

Category: Web Develop
 
LWPXD1963
2009-08-28 08:43:48

Sponsored Links
I want two text box value, how to get? ? ?
I only get the contents of a text box to each text box is only rq energy output, two time how there is only one, and it is behind the text box. . . . . . . . . . . . . . . . . .
code:

<%
out.print (request.getParameter ("rq") + "============= ================= ");
out.print (request.getParameter (" rq1 ") +" ========= ===================== ");
%>
<form action =" "method = "post">
<table>
<tr>
<td> <input name = "meclick" type = "radio" value = ""> </td>
<td> <input name = "rq" onFocus = "str_date ()" readonly = "true" type = "text">
</td>
</tr>
<tr>
<td> <input name = "meclick" type = "radio" value = ""> </td>
<td> <input name = "rq" onFocus = " ; str_date () "readonly =" true "type =" text "> before </td>
</tr>
<tr>
<td> <input name="meclick" type="radio" value=""> </td>
<td> from
<input name="rq" onFocus="str_date()" readonly="true" type="text"> to <input name = "rq1" ; onFocus = "str_date ()" readonly = "true" type = "text"> </td>
</tr>
<tr>
<td> <input name="meclick" type="radio" value=""> </td>
<td> ; <input name="rq" onFocus="str_date()" readonly="true" type="text"> after </td>
</tr>
</table>
</form>

Sponsored Links

ChouKing
2009-08-28 09:01:11
String rq [] = request.getParameterValues ​​("rq");
for (int i = 0; i <rq.length; i + +)
out.print (rq [i] + "============ ================== ");
info_user
2009-08-28 09:07:09
net_lover method Yes, I would recommend save to list
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.