Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 31st, 2006, 02:21 AM
Registered User
Join Date: Mar 2006
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default dropdown menus OnClick Store To session variable,

its been a long day, lol

basicly i got 2 dropdown menus
both connected to a DB
1st for manufacture
2nd for modle

manufacture when page loads already has all car manufactures listen
what i need to do is
onclick save the clicked item into a session variable named sessmanufacture

i need just a quick example where to put the onlick im doing it in notepad pretty much if any one can help

this is what i have

<select name="manmenu" id="manmenu">
While (NOT getmanu.EOF)
            <option value="<%=(getmanu.Fields.Item("Manufactures").Val ue)%>">onClick=(Session("sessmanufacture")=Request .Form("manmenu") </option>
If (getmanu.CursorType > 0) Then
End If


but its not working also id like to know cuz ive been reading this asp book, a session variable would be the proper kind of variable for this information right? i mean application variables r harder to move to other pages, and are more of a pain.

but yea please gimmi a example on the onlick for a dynamic menu lol

thank you


  #2 (permalink)  
Old March 31st, 2006, 03:38 PM
Friend of Wrox
Points: 4,332, Level: 27
Points: 4,332, Level: 27 Points: 4,332, Level: 27 Points: 4,332, Level: 27
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts

Your code is classic ASP. this is an ASP.NET 2.0 fourm. Are you using .NET?


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird problem with dropdown onclick event in IE 7. tovipul21 Classic ASP Basics 1 September 7th, 2007 01:15 PM
Dynamic Menus - Using multiple dropdown boxes Sebastiaan ASP.NET 1.0 and 1.1 Basics 1 April 18th, 2007 06:25 AM
dropdown menus in datagrid? asimzeeshan Visual Basic 2005 Basics 1 September 9th, 2006 03:21 AM
Store Items from dropdown menu in mysql database scoobie PHP Databases 0 April 28th, 2005 08:17 AM
button onclick send session id sougataroy Classic ASP Databases 1 September 4th, 2003 03:46 PM

All times are GMT -4. The time now is 01:00 PM.

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