Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Select

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,90
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Select
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Select - 6/2/2001 12:32:11 PM   
  BlurBaby21

 

Posts: 2
Score: 0
Joined: 6/2/2001
From: Singapore
Status: offline
Anyone out there, Can help?

In my asp page:
i have a select object as follow:
<select id = select1 name = select1 ...>
<option>option1</option>
<option>option2</option>
<option>option3</option>
</select>
There is a button to be pressed after the select. However, my problem is how do i extract the chosen value and store the chosen value inside a session?

<%session("choice")= ???? %>
 
 
Post #: 1
 
 Re: Select - 6/3/2001 8:31:11 AM   
  rhl150

 

Posts: 29
Score: 0
Joined: 5/23/2001
From: New Zealand
Status: offline
Hi,

I am now figuring out this and will reply later....

(in reply to BlurBaby21)
 
 
Post #: 2
 
 Re: Select - 6/3/2001 12:10:37 PM   
  rhl150

 

Posts: 29
Score: 0
Joined: 5/23/2001
From: New Zealand
Status: offline
<HTML>
<HEAD>
<TITLE></TITLE>
<LINK REV="made" HREF="mailto:">
<META NAME="generator" CONTENT="NoteTab Light 4.82">
<META NAME="author" CONTENT="">
<META NAME="description" CONTENT="">
<META NAME="keywords" CONTENT="">
</HEAD>

<BODY>

<%
session("choice")=request.form("selectx")
response.write session("choice")
%>



<form method="post" action="test.asp">
<select id ="select1" name="selectx">
<option>option1</option>
<option>option2</option>
<option>option3</option>
</select>

<input type="submit">

</form>
</BODY>
</HTML>

(in reply to BlurBaby21)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Select Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts