Results 1 to 4 of 4

Thread: Target in a Sub

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    ma,usa
    Posts
    485
    Hi, I use the following sub to choose from a dropdown. I'm trying to put the page that contains it into a frame and send the query strings to a different window in the frame. I can't get "Target" to work though. Could someone help me out?

    Sub sponsor_onchange
    location.href = "NewHeader.asp?SponID=" & sponsor.value & "&ReqID=ALL" target=Selecter
    End Sub

    Thank You,
    JoeyO

  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    if I remember correctly you need to use

    top.framename.location.href

    I could be wrong though
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

  3. #3
    Guest
    Or

    parent.framename.location.href

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    ma,usa
    Posts
    485
    Thanks guys, Top works for one page window.parent works when I nest it in another page

Posting Permissions

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



Click Here to Expand Forum to Full Width