hey guys trying something new using script here is what i got i have a button and i want it to do is go to another html page i have created. here is what i got. i have set up in script.

<html>
<body>
<script type="text/javascript">
    function getSite()
    [

    ]
</script>


<button type="button"onclick="getSite()">Register</button>

am i close? what so i put in the function to do this?

i got it just add window.open(" and whatever .com")

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.