Home | Advertising Info52 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Passing information using javascript from client to server
From: king yang
Date: 5/6/2000 5:34:24 AM
IP: 202.106.242.231



 

A difficult problem for me,i want using javascript in client to pass information(such users age) to server asp script and add it in DB.
Details:
When user click a link a prompt box poped , after user input their age,click "ok",the info passed from client to server.(I cant do it,passing failed,the value is not what i wanted.)
Codes I using below:
.........
<script language="javascript">
function doit(){
if (prompt ("input your age",theage)){
window.location.href="submit.asp?age=" + theage
}
}
//theage is default value??null??undefined??how to get users input??
</script>
...
<form>
<input type="button" onclick="doit()" value="submit it">
</from>

...
In Server side:
<%
dim age
age = request.querystring("age")
i get age from client
%>

Any one tell me the right method??Thank you very much.

Follow Up - Re: Passing information using javascript from client to server - Shailesh Lolam 5/8/2000 1:00:58 AM

Follow Up - Re: Passing information using javascript from client to server - Van Duong 5/19/2000 9:33:49 PM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com