I will be thankful to u people if u send the same code to me 'coz i m also
facing the similar problem,
thnx in advance
Rahul
----- Original Message -----
From: Vikas Gupta <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 13, 2000 9:47 AM
Subject: Re: dynamically changing lists
> Nick,
> How will i know that which option in the lists two and three
> correspond to which option in list one since lists two and three depend on
> list one and i have to get data in list2 and list3 from the database only.
> I would anyway like to have a look at your code.
> Regards,
> Vikas.
>
> -----Original Message-----
> From: Nick Sotiropoulos [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 12, 2000 8:24 PM
> To: [EMAIL PROTECTED]
> Subject: Re: dynamically changing lists
>
>
> It is done by creating the javascript (as well as the html)
> from the servlet call.
> Calling the servlet only once, you will populate the first drop down list.
> Then, by using the event onChange() in the select list
> you call some Javascript code which has been produced by the servlet
> and fills the other two lists according to the selection made by the first
> list.
> In this way you remain on the client and do not need to go back to the
> server.
> If you want the javascript code, please mail me.
> Nick.
>
>
> ----- Original Message -----
> From: Vikas Gupta <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 12, 2000 10:59 AM
> Subject: dynamically changing lists
>
>
> > Hi
> > I have three drop down lists.Data in all three is coming from
> > database.I want to change the content of two of the lists if first list
is
> > changed.Data in lists two and three depend on the data in list1.
> > I donot want to call the servlet again.
> > Any idea how to do it in an optimal way using javascript or any other
> idea.
> > Regards,
> > Vikas.
> >
> >
>
___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html