Hey!

I may have missed the true meaning of your question, but this
is not a big problem.  I do not use JavaScript because it is
not cross browser compatible for one thing.

What I do is, my initial HTML page has the initial FORM component.
The next trip back to the server has the 'select'ion.  Based on that infomation,

I construct a similar HTML with the old component and the new one and
send it back.  In the browser's eye it looks like the the original page with
just the new component added.  Alacazam.

Sans adieu,
Danny Rubis

"Godbey, David" wrote:

> Situation:
> Single web page. User is presented with a select box, and based on the
> selection made there, a second box is populated, and then possibly a third.
>
> I have some code from a previous project where the servlet runs three select
> statements, and constructs JavaScript with the data organized in
> multidimensional JS arrays. This gives the user the ability to run cascading
> "queries" client side.
>
> This works, but is kind of ugly. Does anyone have a better way outside of
> applets?
> Thanks,
> Dave
>
> ----------------------------------------------------------------------
> Dave Godbey
> Senior Developer
> SAIC
> Phone: (410) 671-6925
>
> ___________________________________________________________________________
> 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