-
Form Problems
I have the following
<head>
<script language=vbscript>
sub cmdSubmit_OnClick
window.print
document.A.submit
end sub
</script>
</head>
<%
if request("C") <> "" then
do something here...
end if
%>
<form name=A>
<input type="button" name="cmdSubmit" value="Process">
<input type=hidden name=C value="test">
</form>
When I click on the "Process" button I can print the form and then submit.
The code that asks for the hidden field does nothing because, I think, it
is never retrieved in the request statement. How do I do this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|