Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 8th, 2006, 05:59 AM
Authorized User
 
Join Date: Dec 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default request in asp

hello every body,
i've this code:

<input type="button" value=" Edit " name="cmdsave" size=70 onclick="CheckFeilds(<%=rs("id")%>);">

<script>
function sure(){
frmadd.submit();
}

function CheckFeilds(id2){
if (true==true)
{
document.frmadd.id2.value=id2;
sure();
return false;
}
}
</script>
<input name="id2" value="0">

and on the second page:
ID=Request("id2")
Response.Write (ID)
Response.End

but it doesn't print the ID!!!






Similar Threads
Thread Thread Starter Forum Replies Last Post
request.form in asp.net.... sand133 ASP.NET 2.0 Basics 1 August 20th, 2006 06:30 AM
Request to asp.net page kaken20 Excel VBA 0 July 4th, 2006 02:31 AM
how to send https request in classic asp johndoewn Classic ASP Professional 1 March 25th, 2006 12:37 AM
.asp request from Excel (Import External Data) chs245 Classic ASP Basics 1 October 6th, 2003 04:24 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.