Thank you for the hint. I will try.
Erik Weber <[EMAIL PROTECTED]> wrote:I don't know exactly how do it using 
JavaScript. However, I know there's 
a way to do it. But, you'd have to have all list data downloaded to the 
client's browser (could be undesirable depending on list size), so you 
may want to rethink that approach once you figure out how to do it.

Obviously it can be done using ordinary programming on the server side 
(JavaScript can resubmit the page when the first select's value is 
changed, and you can change the collection to be displayed in the second 
select before you resend the HTML).

Erik


t t wrote:

>Hi, all,
>I have two html:select as below:
>---------------------------------------------------
>
> > labelProperty="label"/>
> 
>
> > labelProperty="label"/>
> 
>--------------------------------------------------------
>when user choose item2 from s1, I want to change the collection in s2 
>from "c2" to "itemC". How can I do that?
>Thanks in advance!
>Tong
>
>
> 
>---------------------------------
>Do you Yahoo!?
> Check out the new Yahoo! Front Page. www.yahoo.com
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



                        
---------------------------------
Do you Yahoo!?
 Check out the new Yahoo! Front Page. www.yahoo.com

Reply via email to