You could use a textarea object too, if you don't want that the textarea to
be edited
by the user you can use the onFocus method like this onFocus="go somewhere
else".
I think this is possible also if you use frames, you can write from a frame
to the another frame with parent.framename.document.write() . I have read it
somewhere
that it can be done if you are interested I will send you an example.
-----Original Message-----
From: Petr Jiricka <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, March 08, 1999 7:29 PM
Subject: [a little bit off topic] Generating part of a page in JavaScript
>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