Use iframe and Jquery to open another window in it self .This actually may be more desirable as it is simpler and works in more browsers (Firefox, Internet Explorer, Opera 8.54+ tested)

$( function() {
var p = parent;
$(“a”).click( function() {
p.$(“#myinput”).val(“Anchor clicked: ” + this.href);
return false;
})
})

Most of time we want to disable the ” Browser Back” button due to some security reason or any

other purpose.

there are some tech. to do this .

You can use the location replace method when changing the location.

<script language=”JavaScript”>
<!–
if (document.images)
[...]