pml
04-11-2005, 08:27 AM
I have this code below. When the link is clicked the function is called and the argument is sent to two frames, thanks to Java Script. I wonder if I can send the same argument to two different pages (frame1.asp and frame2.asp) without using JS. I also have a complete form that I want to send to frame1.asp and frame2.asp simultaneously, without using Java Script.
Am I too optimistic or is there a way to achieve that without depending on JS?
Function send_to_frames(){
window.parent.frame1.location.replace("frame1.asp?variable=argument");
window.parent.frame2.location.replace("frame2.asp?variable=argument");
}
<a href="javascript:send_to_frames()">Send argument to two frames</a>
Am I too optimistic or is there a way to achieve that without depending on JS?
Function send_to_frames(){
window.parent.frame1.location.replace("frame1.asp?variable=argument");
window.parent.frame2.location.replace("frame2.asp?variable=argument");
}
<a href="javascript:send_to_frames()">Send argument to two frames</a>