Thanks everyone for your help, well it looks like I will have to go to the
server after all, since I need to support version 3 browsers, but thanks
anyhow.
Petr
----------
From: Scott Neufeld [SMTP:[EMAIL PROTECTED]]
Sent: Monday, 08 March, 1999 6:50 PM
To: [EMAIL PROTECTED]
Subject: Re: [a little bit off topic] Generating part of a page in
JavaScript
True, forms can't span layers -- however, you can populate a form
that you will
wind up submitting based on data in forms that exist in other
layers... Gets a
bit complicated, and may not be worth the hassle, but it can be
done.
Timothy Gallagher wrote:
> True, CSS (or layers) could help with this, but forms can not span
> layers, so be carefull.
>
> Another technique is have to split the page into frames, if this
makes
> sense. With the dynamic data in one frame, another frame could
actually
> re-write the data without a trip back to the server.
>
> Tim Gallagher
>
> -----Original Message-----
> From: Douglas Bridges [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 08, 1999 10:51 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [a little bit off topic] Generating part of a page in
> JavaScript
>
> Unfortunately this does not work. The browser only parses through
the
> HTML once. While theoretically possible to have Javascript change
the
> code, the browser will not parse the new HTML. Thus it is a moot
point.
>
> You might want to look into Cascading Style Sheets(CSS). They
might be
> able to do want you want. They are extremely powerful especially
when
> combined with Javascript.
>
> Doug
>
> >Date: Mon, 8 Mar 1999 17:21:24 -0000
> >Reply-To: "A mailing list for discussion about Sun Microsystem's
Java
> > Servlet API Technology."
<[EMAIL PROTECTED]>
> >From: Petr Jiricka <[EMAIL PROTECTED]>
> >Subject: [a little bit off topic] Generating part of a page
in
> JavaScript
> >To: [EMAIL PROTECTED]
> >
> >Hi,
> >Is it possible to write HTML code by JavaScript in the middle of
a
> document?
> >I would like to dynamically change a part of a page when user
clicks a
> >button on a page without having to call my servlet, because the
page is
> >quite big and it needs to change quickly.
> >Thanks in advance for your help.
> >
> >Petr
> >
>
>_______________________________________________________________________
> ____
> >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
> >
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
>
________________________________________________________________________
> ___
> 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