Menu outo change

This is a discussion on "Menu outo change" within the Classic ASP section. This forum, and the thread "Menu outo change are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 12th, 2003, 12:44
Junior Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to djaccess
Menu outo change

I have two drop down menus in a form, they both connect to fields in the same table. I want the users when then have selected there first option, to have the page refresh so that the secound option only show values where they are the same as the first field

e.g i select a first name

then all i get in the secound field is the people with the same first name.

I have written all my querys and every thing i just need to make the page refresh with tout the user having to press the submit button. please help asap cheers

  #2 (permalink)  
Old Sep 12th, 2003, 12:54
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
Code: Select all
<textarea rows=20 cols=50>

<html>

<head>

<script>
function load(form, win) {
  	top.location = wibble.service.options[wibble.service.selectedIndex].value
	}
</script>

</head>

<body bgcolor="#ffffff">



<form name="wibble">
<select name="service"  onChange="load(this.form, parent)">
     <option>Please choose a study </option>
     <option value="consulting/index.html">Consulting</option>
     <option value="corp_edu/index.html">Corproate Education</option>
     <option value="mobile_comp/index.html">Moblie Computing</option>
     <option value="uni_msg/index.html">Unified Messaging</option>    
     <option value="retail/index.html">Retail Computer Sales & Service</option>   
     <option value="safety/index.html">Public Safety</option>  
     <option value="medicine/index.html">Emergency Medicine</option>  

</select>
</FORM>

</body>

</html></textarea>
Closed Thread

Tags
menu, outo, change

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Layer Change rattlesnak Web Page Design 2 Jan 25th, 2008 12:07
change DIV moiseszaragoza JavaScript Forum 1 Mar 15th, 2007 00:32
I have a normal css menu, but want ot add drop down menu to it multichild Web Page Design 7 Jan 9th, 2007 16:07
Colour change Angel2020 Web Page Design 4 Nov 17th, 2006 11:23
A way to change background color of a menu list gohankid77 Web Page Design 1 Oct 12th, 2004 10:14


All times are GMT. The time now is 04:55.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43