473,395 Members | 1,458 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Hi i'm creating a form(JSP) in which i have 3 combo box.generating dynamic combo box

Hi,
I got a job on jsp.They gave (creating Form) exercise to retrieve the data from database(oracle) and load that into combo box.
in my Form there are 3 combo box.
in the 1st combo box state is loaded.
in the 2nd combo box city is loaded.
in the 3rd combo box area is loaded.

if i select 1st combo a specific state in 2nd combo retrieve the appropriate city for which i selected in combo box 1 similar for combo box 3.

i created form successfully but it loading for each combo box.
so without refresh i want to retrieve the data in 3 combo box.

my English is very poor. kindly help me.
Attached Files
File Type: txt Form1.txt (7.0 KB, 427 views)
File Type: txt SelectState.txt (1.5 KB, 471 views)
Dec 30 '10 #1
2 1884
RamananKalirajan
608 512MB
You have to use Ajax or you have to load all the values in your form when the page is loaded. After every change you have to update the Combo box alone.

Thanks and Regards
Ramanan Kalirajan
Jan 3 '11 #2
i loaded all values in the form. but i'm new to ajax

i have attached my code in previous post please look and help me..
Jan 4 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: {////<<head> <title>IIBO Submit Page</title>...
6
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: ...
3
by: vgrssrtrs | last post by:
<html> <head> <script language="JavaScript"> <!-- /* *** Multiple dynamic combo boxes *** by Mirko Elviro, 9 Mar 2005 *** ***Please do not remove this comment
9
by: Bob Alston | last post by:
In 2002, "GrayJay" posted the following code: I did this in a jazz record catalogue to find composers - On a form "frmComposers" Create a text box - txtFindComposer, and add the following sub...
1
by: sheri | last post by:
I need help!! I am creating a form. I want to add a value from my table. The table name is COLDST. The fields I am working with are in this same table. I want to enter Product ID and have it...
15
by: mc | last post by:
I'm writing an app for managing Task Lists, I'm trying to add some controls to a form that I can use to link tasks, my original intention was to: - Add two list boxes, one listing "all Tasks"...
3
by: Iyhamid | last post by:
Hi Every 1 I am still in big problem.. And I would like help..As u guys always do thanks to all.. My problem is that: I have A view with multible columns..Merchant ID(numbers), Merchant...
5
by: Gun Slinger | last post by:
Hi i just have a quick question. I ran a search but i was not sure really how to word it correctly and couldnt find anything. I would like to know how I can create a form object like a textbox,...
5
by: creative1 | last post by:
Hi, I am designing a data entry JSP form to add payment information. I want to add a combo box on the form that would have list of the compies present in databse. The combo should be populated based...
2
by: Joergen Bech | last post by:
Hope someone has a solution or some suggestions for this. This cannot be right?!? Problem: I have multiple non-modal forms open at the same time. One or more of these forms have a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
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,...
0
jinu1996
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.