Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    pml
    pml is offline
    New Coder
    Join Date
    Mar 2005
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Sending arguments to multiple frames without JS...?

    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>

  • #2
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    *this message will self destruct in n-seconds*


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •