Can anyone help me to figure out why the URL is opening in both windows, instead of just the new window, in both IE and FireFox?
ArcadeSyndicate has bailed on me (after I paid him too).
Thanks for any help!
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<script type="text/javascript">
function WebseiteAufrufen () {
window.open(location.href = document.getElementsByName("webseite")[0].value);
return false;
}
</script>
</head>
<body>
<form action="" onsubmit="return WebseiteAufrufen();">
<input type="text" name="webseite" size="50" />
<input type="submit" value=" GO! " />
</form>
</body>
</html>