Target=_top - Use Target=_top (Posted by HAI TRAN)
You can't put it in the tag itself, since it is leading to a function (JavaScript?) of some sort. If it is a JavaScript function, you'll need to look at the function to see where it changes the location of the browser with one of several things, some are:
window.location="url"
location.href="url"
There are others I don't recall at the moment.
After finding that, I think what you need to do is change this to:
parent.location="url"
or
parent.window.location="url"
Someone correct me if I made a mistake here, I'm not sure I remembered it right.
HAI TRAN posted this at 21:06 — 26th October 1999.
They have: 4 posts
Joined: Sep 1999
It works!
<input type="button" value="NewForm"
onClick="changeFormAction(parent.window.location='NewForm.htm')">
Thanks.
HAI TRAN posted this at 02:18 — 27th October 1999.
They have: 4 posts
Joined: Sep 1999
I have three frames page. And I have a link so that the user can click to open new full page. But I don't know how to apply target=_top option for the following:
<input type="button" value="NewForm" onClick="changeFormAction('NewForm.htm')">
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.