ey guys, i need to redirect a page but when redirected it redirect to .... blehblehblehblehwww.myredirectedpage.com

   <script> 
    function readress () {
    window.top.location = "www.myredirectedpage.com";
    }
    </script>



    <body> 
    <input  id="resultado" type="button" name ="boton" value="" onclick="readress();"/>
    </body>

thanks!

Recommended Answers

All 2 Replies

thank you!! it works !

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.