Page 1 of 1

Using document.write inside another frame

Posted: Sat Mar 01, 2003 3:05 pm
by nigma
Anyone know how to do a document.write('<image src=sc1.bmp>') inside another frame?

Thanks for the help and advice.

Posted: Sat Mar 01, 2003 9:03 pm
by CONFIQ
parent.name_of_frame.document.write("I'm not sure about it,but give it a shoot");

Posted: Sat Mar 01, 2003 9:09 pm
by nigma
Already tried that but no success. I am also using this inside an onClick javascript tag which is inside <a href> tag which is inside a php tag so it might be the quotes. I tried escaping them but also no success.

Thanks for the suggestion.

Posted: Mon Mar 03, 2003 9:41 am
by neh

Code: Select all

parent.frames&#1111;'name_of_your_frame'].document.write('blah');