I am trying to create a login where the user enters their domain and and then '/stats/' is added to the end. It would then open a new window with the full url.
So if they entered webdeveloper.com it would open a new window as webdeveloper.com/stats/
Here is my code:
<SCRIPT LANGUAGE="JavaScript">
<!--
function login() {
var usite = document.gocp.usersite.value;
var udest = document.gocp.userdestination.value;
var url_str = '&usersite=' + usite + '&userdestination=' + udest;
window.location.open = url_str;
}
//-->
</script>
Bookmarks