Link to home
Start Free TrialLog in
Avatar of ruperts
ruperts

asked on

javascript location.href....(also easy when you know how)

ok.. I might be in a frame, might not, so when users click on the button as shown below it  brings up the index in the current frame how can I target "_top"  ?

And yes I do need to use the button!

<button onclick="location.href='index.asp'">Back to the Menu</button>
ASKER CERTIFIED SOLUTION
Avatar of binkzz
binkzz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ruperts
ruperts

ASKER

Now why didn't I think of that!