Thanks All of you.  Finally, i could implement it with ajax.
   
  Lakshmi.

Dave Newton <[EMAIL PROTECTED]> wrote:
  Medicherla Lakshmi wrote:
> Am using struts and my requirement is i have two selects i a jsp. On change 
> of value in the first select, the values in the secon select should pop up. 
> Is there any way to do this using remote scripting. 
> 

What's "remote scripting?"

Anyway, there are several ways to deal with this, the most obvious being
to set up a javascript handler for the "master" select box such that
when a value is selected the second select is populated. This requires
some chunks of javascript initialization code (usually arrays containing
value/text pairs).

You could also use AJAX and do things a bit more dynamically, and then
you get to say you used AJAX: long live resume-oriented programming.

Dave



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



                                
---------------------------------
  Yahoo! India Answers: Share what you know. Learn something new Click here
 Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now

Reply via email to