Hi Sri,
You have many ways of doing it, e.g:
1. you can submit the form using          document.formName.submit()       at the
onBlur or onChange   event , and populate the second list with results from the
query         OR
2.at the page load time, query all the possible values and store in a hashtable (or
anyother collection), and then use (inside a loop)
document.formName.selectName.options[length] = new
Option("displayColName","ColValueUWant",false,false)
to add options at runtime. ofcourse u'll also need to clear up the previous opns

You may also try doing this in a javascript array, or any other.
Of course you have to do it the way u find more efficient. In most cases the second
way will be more efficient. If u like it i may look up for some code i might have
to help you out!

Thanx
Navpreet.

"Mukka, Srikanth" wrote:

> Hi All,
>
> I have two list Box items, list Box item1 and list Box item2, I display all
> the table names in the first list Box item1, then depending on the table
> name selected I have to select that particular select table columns from
> oracle data dictionary and display in the second list Box item2.
> Like that the user will select columns from few table, which I have to keep
> track, like to which table the column belongs.
>
> Any ideas, or suggestions of any form are welcome.
>
> I am using JSP and servlets technology.
>
> Bye
> Srikanth
>
> -----Original Message-----
> From: Scott Evans [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, October 29, 2000 8:22 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Passing Value from one frame to another
>
> With or without a trip to the server?
>
> -----Original Message-----
> From: Mukka, Srikanth [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 25, 2000 9:59 PM
> To: [EMAIL PROTECTED]
> Subject: Passing Value from one frame to another
>
> Hi All,
>
> I have two frames,frame1 and frame2, I am displaying one a.html in frame1
> and b.html in frame2. User selected value from the list box from a.html and
> depending on the value selected in a.html, I want to display the values in
> frame two using b.html. I question is how do I pass values in this scenerio.
> May be this is a small doubt.
>
> Bye
> Srikanth
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to