javascript redirect to page without full url code example
Example 1: javascript redirect
<script>
window.location.href = "http://mywebsite.com/home.html";
</script>
Example 2: jquery redirect to url
$(location).attr('href', 'https://google.com');