neolegionar
Jun 16th 2007, 12:36 pm
Does anyone know how can i open an URL in the current window using a Java function?
dankenpo
Jun 16th 2007, 9:14 pm
Good question. We solve this with a redirection function:
<html>
<head>
<script language="JavaScript">
<!--
function redirectLink() {
window.location="newlink.php"
}
// -->
</script>
</head>
<body>
<a href="javascript:redirectLink()">Redirect</a>
</body></html>
That should do it!
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.