p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Classic ASP Databases (http://p2p.wrox.com/forumdisplay.php?f=62)
-   -   button onclick send session id (http://p2p.wrox.com/showthread.php?t=3325)

sougataroy August 28th, 2003 08:36 PM

button onclick send session id
How can I send a value (for ex id) from one asp page to another at the click of a button (not submit button)?

mpicton September 4th, 2003 03:46 PM

really this is not ASP but javascript - to send the item - eg a session id - create a hidden control <input type="hidden" name="h1" value="<%=Session("MySessionVariable")%>"/>
and a button
<input type="button" name="btn1" value="Hit me hard" onclick="iamHit(this)"/>
with some javascript
function iamHit(ctl)

All times are GMT -4. The time now is 02:38 PM.

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