I am having problem dynamically display the dropdown list from database.
There are two dropdown list boxes A and B,
when the user changes options in dropdown A, the dropdown B should also
change dynamically from databse.
Both A and B use html select tag.
Dropdown A and B are inside the
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 9:21 AM
To: Struts Users Mailing List
Subject: dynamically change the dropdown list from a database...
I am having problem dynamically display the dropdown list
from database
There are 2 ways to go about this:
1) use an onchange() handler in your select-A that submits the new
value and retrieves the corresponding values for select-B everytime
there's a change;
2) pre-load all possibilities and use javascript to change the values
of select-B that depends on A. This
the dropdown list from a database...
|
|
There are 2 ways to go about this:
1) use an onchange() handler in your select-A that submits
:
|
| Subject: Re: dynamically change the dropdown list from a database...
|
|
There are 2 ways to go about this:
1
:
|
| Subject: Re: dynamically change the dropdown list from a database
I was thinking the benefit would be a quicker, smoother refresh since
only one small piece of the page would be reloaded. Is that not correct?
I don't know that much about frames.
Erik
Bill Siggelkow wrote:
What is the benefit of the hidden frame? I guess that you can submit
an entire form
/param
/provider
HTH.
Cheers.
Guillermo.
-- Mensaje original --
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
From: Shilpa Nalgonda [EMAIL PROTECTED]
To:Struts Users Mailing List [EMAIL PROTECTED]
Subject: dynamically change the dropdown list from a database
ist [EMAIL PROTECTED]
|
| cc:
|
| Subject: Re: dynamically change the dropdown list from a dat
9 matches
Mail list logo