Title: RE: dynamically changing lists

This can be done through JavaScript. Using JavaScript you have to define JavaScript arrays of options in the list and as soon as one list changes you can call a function to replace one list with another.  Code is pretty simple.  If you need code I can post it.

You can also use XML for this purpose but it requires a JavaScript XML parser.

-Muhammad Shami

-----Original Message-----
From: Farman Khan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 12, 2000 9:46 AM
To: [EMAIL PROTECTED]
Subject: Re: dynamically changing lists


Is it a JSP Page?
Create a databean to get the contents of the drop down lists.
Farman

-----Original Message-----
From: Vikas Gupta [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 12, 2000 5:59 AM
To: [EMAIL PROTECTED]
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

Reply via email to