Home | Advertising Info67 USERS CURRENTLY ONLINE   
   Site Search Contact Us Sunday, November 29, 2015  

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

Try a free httpZip trial now and compress for less!

We didn't realize
the site was so popular.

Other Stuff

vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds

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


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


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.
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??
<input type="button" onclick="doit()" value="submit it">

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 - 2015 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 source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components 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