Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is it possible to write to a layer on the previous page ??

 
Catriona McCann
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is is possible to write to a layer (div) or any other element on the previous page, i.e get a hold on the previous document ?
If so - how ??
Thanks !!
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With this previous window, was it the parent of a pop-up window??
aka did you use a pop up to make the window??
if so then you can use, i think,
opener.document.layername.write("<p>blah</p>");
hope this helps you out
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!