troubleshooting Question

Retrieve textbox value

Avatar of roioep
roioep asked on
ASP
5 Comments1 Solution456 ViewsLast Modified:
Hi,

I have a form with a textbox that refresh every 30 sec.

As you can see in the following code, the "Apply" link must recall the same page with the textbox value in parameter and write this value but it doesn't.

Test.asp

<%@ Language=VBScript %>
<%
     sZone = Request("Zone")
     if sZone <> "" then
          response.write "Everything is fine"
     end if
%>
<html>

<head>
<META HTTP-EQUIV="REFRESH" CONTENT="30">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Nouvelle page 1</title>
</head>

<body>

<p><input type="text" name="txtZone" size="20" value="<%=sZone%>"></p>

<p><a href="test_get_textbox_value.asp?Zone=<%=txtZone%>">Apply</a></p>

</body>

</html>


Can anyone help me ?

Thanks
ASKER CERTIFIED SOLUTION
aGuyNameRay

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros