Using document.write inside another frame

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

Using document.write inside another frame

Post by nigma »

Anyone know how to do a document.write('<image src=sc1.bmp>') inside another frame?

Thanks for the help and advice.
CONFIQ
Forum Commoner
Posts: 32
Joined: Fri Oct 18, 2002 3:39 pm
Location: Israel - Raanana

Post by CONFIQ »

parent.name_of_frame.document.write("I'm not sure about it,but give it a shoot");
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

Post 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.
neh
Forum Newbie
Posts: 16
Joined: Tue Jul 23, 2002 3:08 am

Post by neh »

Code: Select all

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