Hey to everyone who visits this site, My name is Tomeka and Im a graduating senior at Mississippi Valley State, we are working on a project to mske an online trascript evaluation and the part I have was easy at first but now its confusion, I have two drop down menus the first is YEAR(2004,2005,2006); the second is MAJOR(comp sci, info sci., mathe ed, mathe) we set up some pages with the major and yeat together, i need to know if I select 2004 and select comp sci how will that page pull up when i click the continue button? I really need help with this, I know you use the SELECT script in my code but I forgot how to do this..... please help
2 3388
Hey to everyone who visits this site, My name is Tomeka and Im a graduating senior at Mississippi Valley State, we are working on a project to mske an online trascript evaluation and the part I have was easy at first but now its confusion, I have two drop down menus the first is YEAR(2004,2005,2006); the second is MAJOR(comp sci, info sci., mathe ed, mathe) we set up some pages with the major and yeat together, i need to know if I select 2004 and select comp sci how will that page pull up when i click the continue button? I really need help with this, I know you use the SELECT script in my code but I forgot how to do this..... please help
select *
from database_table
where year='#form.year#' and major='#form.major#'
Hey to everyone who visits this site, My name is Tomeka and Im a graduating senior at Mississippi Valley State, we are working on a project to mske an online trascript evaluation and the part I have was easy at first but now its confusion, I have two drop down menus the first is YEAR(2004,2005,2006); the second is MAJOR(comp sci, info sci., mathe ed, mathe) we set up some pages with the major and yeat together, i need to know if I select 2004 and select comp sci how will that page pull up when i click the continue button? I really need help with this, I know you use the SELECT script in my code but I forgot how to do this..... please help
Assuming you have major and year together like CompSci2004, CompSci2005, etc. and assuming the pages are HTML pages, you could have an onclick handler on the continue button: - <form ... name="transcript" ...>
-
<select name="majorSel">...</select>
-
<select name="yearSel">...</select>
-
<input type="button" name="continue" value="Continue" onclick="location.href=document.transcript.majorSel + document.transcript.yearSel + '.html';">
-
Make sure that each option within the select has no spaces, e.g. - <option value="CompSci">Comp Sci
so the display shows spaces but the value that is passed has no spaces.
Hope that helps.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: PT |
last post by:
I got a form with many text boxes, checkboxes and 3 drop downs. From
that 3, 2 are dependant. I can choose one drop down, and the next drop
down should display the dependant values of the first...
|
by: Leigh |
last post by:
I am building a data entry application using Java servlets.
I had hoped to use drop down boxes to provide the user with
data entry selections pulled from a database, but am now
questioning, given...
|
by: Dan |
last post by:
Can anyone offer suggestions on how to do this or if it is possible?
I have a form that uses a drop down box and 2 text fields.
What I am trying to do is have the value of each text box set by...
|
by: MasterChief |
last post by:
I have 3 drop down boxes on the same page. Each one is being populated
by a database. One is called Location, One is called Device and the
other one is called Job Title. When the user selects...
|
by: Yoshitha |
last post by:
hi
I have 2 drop down lists in my application.1st list ontains itmes like
java,jsp,swings,vb.net etc.2nd list contains percentage i.e it conatains the
items like 50,60,70,80,90,100.
i will...
|
by: Vigneshwar Pilli via DotNetMonster.com |
last post by:
string connectionString1 = "server=(local); user=sa;password=sa;
database=sonic";
System.Data.SqlClient.SqlConnection dbConnection1 = new
System.Data.SqlClient.SqlConnection(connectionString1);...
|
by: callawayglfr |
last post by:
I am building a database in access where I have a drop down box that
relates to a text box, that part I have working but when someone
selects information from the first drop down I need it to limit...
|
by: amcoldspy |
last post by:
Hi,
am trying to create dynamic drop down boxes..
there are 3 drop down boxes.
The second drop down box elements are to be update based on the selection made in the first drop down box...
|
by: kashhere |
last post by:
hi all,
i had two drop down boxes
on the selection of one item in the first drop down box
the related items should be changed in the second one
can any one please suggest me towards the solution...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |