How to refresh another frame on a page?

Discussion in 'JavaScript' started by modpriest, Dec 30, 2007.

  1. #1
    I have 2 frames in 1 page ('A' and 'B' frame). I don't know how to refresh another frame. Example: I want to refresh 'B' frame using button on 'A' frame!

    Any pro can help me?
     
    modpriest, Dec 30, 2007 IP
  2. pratham

    pratham Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    parent.frames ["frameB"].location.reload ()

    Note that both frames need to be on the same domain or you'll run into cross-domain issues.
     
    pratham, Dec 30, 2007 IP