Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2003
    Location
    Roanoke, VA, US
    Posts
    390

    JavaScript and Frames

    Hello all,

    I have a site that I am using frames (gasp!) in.  The two frames (rows) are called "top" and "bottom".

    The "top" frame contains a form.  What I need to have happen is onSubmit of the form to call a JavaScript to capture the "bottom" frame's url at that moment.

    I have searched for a script to do this but haven't found anything, and don't know enough about JS to use the DOM or window object to be successful myself.

    Can someone help me out?

    Thanks!

    Marty

  2. #2
    Join Date
    Mar 2004
    Location
    USA
    Posts
    4,342
    Is it tell a friend script ur making...

    search google for getting url of a iframe...

    I think its something like document.frame[2].url..

    Peace,
    Testing 1.. Testing 1..2.. Testing 1..2..3...

  3. #3
    Join Date
    Jan 2003
    Location
    Roanoke, VA, US
    Posts
    390
    No, it's not for any script like that, this is a custom job.  I should also mention the 2nd frame (bottom) is a separate site not on my server.  But all I want to capture is its url.

Posting Permissions

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