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

Thread: open url

  1. #1
    New Coder
    Join Date
    Feb 2006
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    open url

    Hi,

    I am trying to get a button on my page to forward the user to a certain URL when clicked (at the moment I am just using a test url).

    http://www.maddog-band.co.uk/update-gigs.php

    I'm calling a function named gotoEdit()!! I'm popping up an alert box just to make sure the function is being called... and it is.

    Ignore the drop-down list for the moment - it's redundant.

    Can anyone help?

    Thanks,
    Gary

  • #2
    New Coder
    Join Date
    Feb 2005
    Location
    UK
    Posts
    90
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I would use

    top.location.href = editURL;

    instead of window.open
    Last edited by _Dan; 06-26-2006 at 09:04 PM.
    Daniel
    XZIST.org


  •  

    Posting Permissions

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