View Single Post
  #2 (permalink)  
Old April 1st, 2010, 10:30 AM
PeterPeiGuo PeterPeiGuo is offline
Friend of Wrox
Join Date: Dec 2008
Location: , , .
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts

bgcolor should be spelled as bgColor with captial C:
<script type="text/javascript">
//this file will paint exp.htm when that file is opened.

document.write("this is paintParent.htm");
window.opener.document.bgColor = "RED";

Reply With Quote