[Javascript] forcing a window to refresh

Malka Cymbalista Malki.Cymbalista at weizmann.ac.il
Thu Apr 11 08:17:55 CDT 2002


I am creating an html page that contains a form.  Basically, when the user first sees the page, 3 questions are displayed each having a yes or no answer. If the user clicks on yes, then an additional section opens where the user must enter more information.  This additional section contains text boxes and textarea boxes. We are using javascript with layers to control what is placed on the page and where.  It pretty much works except for one problem. 
When the user clicks on yes, the new section appears but only with the text that is printed outside each text box or textarea.  the text boxes themselves do not appear.  If the user resized the window or does something that forces a "refresh" then everything appears properly.  Is there anything that will force a "refresh" of the window?  Doing reload() is not an answer because that resets the page to the original without the additional sections.

Any help will be appreciated. TIA.

Malki Cymbalista
Webmaster, Weizmann Institute of Science
Rehovot, Israel 76100
Internet: Malki.Cymbalista at weizmann.ac.il




More information about the Javascript mailing list