[Javascript] Updating text in a frame using JavaScript

Rodney Myers rodney at aflyingstart.net
Tue Jun 5 03:12:14 CDT 2001


var d=top.framename.document;
d.open();
d.write(".....");
d.close();

hth

Rodney

JPS Computer Services wrote:

> Hello All,
>
> I am using top.framename.document.write(".....") to write to a frame from
> another frame in the frameset.  The problem that I am encountering is that
> when using the above code to write to the frame again the text is add to the
> frame without clearing the current text first.  Is there anyway to clear all
> the text in the frame I am writing to first?  I have tried
> top.framename.document.clear() with no luck.  Thanks for any help given.
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript

--
Shop at ssistant Add-ons and Developer Workshops
http://www.aflyingstart.net/addons/

Enquiries regarding Shop at ssistant Classic training :
Call 01256 880770

Rodney Myers
Based in Oxford, England
Technical Director, Shop at ssistant eCommerce Solutions






More information about the Javascript mailing list