Results 1 to 2 of 2

Thread: How to spcify target with window.location.href???

  1. #1

    Thread Starter
    Addicted Member wernerh's Avatar
    Join Date
    Sep 2000
    Posts
    170

    Question

    How can I specify a target frame in a ONCLICK event of a button with the statement : onclick="window.location.href = 'mypage.asp'"

  2. #2
    Guest
    call the following function in your onclick event


    function openFrame(url,framename)
    {
    parent.frames[framename].location.href = 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
  •  



Click Here to Expand Forum to Full Width