onClick Button Problem
I have created an onClick external link but cant get it exit the frame.
When I put in the target="_new" instruction it throws up a script error - any idea how to get round this..?
I am using
other than being stuck in the frame the link works fine..
Thanx...
kb posted this at 07:10 — 1st June 2006.
He has: 1,380 posts
Joined: Feb 2002
What's your JS look like?
glenvern posted this at 11:45 — 1st June 2006.
They have: 16 posts
Joined: Apr 2002
Thanx for the response but I think I have worked it out -
by puting window.open() in front of location.href= it seems to work just fine.
not sure if that is bad coding or not but it works for me...
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.