•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 402,471 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,966 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 7309 | Replies: 2
•
•
Join Date: Jun 2006
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
hi respected friends,
i have strucked with out this feature in my project. Please help me,and me sample code if u can .
i have a JSP page which is having two combo boxes,in this page my main aim is:
in my first combo box if i select one courseID ,the next combo box i.e SemesterID need to updated with out page submitting.
I heard that this feature can get by using AJAX and JAVA SCRIPT in JSP.
Here in my data base in course table for example i have 4 course IDs: MTECH
BTECH
MCA
BCA
and
in semester table i have for particular MTECH courseID i have these semesterIDs:sem1
sem2
sem3
sem4
and for MCA courseID i have these semesterIDs:sem1
sem2
sem3
sem3
sem4
sem5
sem6 etc..
here my problem is in my page,in first combo box if i select courseID as: MTECH, in second combobox
i need to get semesterIDs as:sem1,sem2,sem3,sem4.
else if i select courseID as:MCA, in second combo box
i need to get semesterIDs as:sem1,sem2,sem3,sem4,sem5,sem6.
This is the feature i need .
give me sample code for this using AJAX+JAVA SCRIPT in JSP
i have strucked with out this feature in my project. Please help me,and me sample code if u can .
i have a JSP page which is having two combo boxes,in this page my main aim is:
in my first combo box if i select one courseID ,the next combo box i.e SemesterID need to updated with out page submitting.
I heard that this feature can get by using AJAX and JAVA SCRIPT in JSP.
Here in my data base in course table for example i have 4 course IDs: MTECH
BTECH
MCA
BCA
and
in semester table i have for particular MTECH courseID i have these semesterIDs:sem1
sem2
sem3
sem4
and for MCA courseID i have these semesterIDs:sem1
sem2
sem3
sem3
sem4
sem5
sem6 etc..
here my problem is in my page,in first combo box if i select courseID as: MTECH, in second combobox
i need to get semesterIDs as:sem1,sem2,sem3,sem4.
else if i select courseID as:MCA, in second combo box
i need to get semesterIDs as:sem1,sem2,sem3,sem4,sem5,sem6.
This is the feature i need .
give me sample code for this using AJAX+JAVA SCRIPT in JSP
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Combo box and Ms-access (JSP)
- combo box (PHP)
- Want to use radio button or menu bar instead of combo box (Java)
- combo box (ASP)
- How do I limit text char in Combo box? (VB.NET)
- combo box help (VB.NET)
Other Threads in the JSP Forum
- Previous Thread: Problem with jsp include directive in iPlanet. Working in Tomcat.
- Next Thread: <jsp:include> Not Printing On Web Page, But In Source Code



Threaded Mode