MarcGraff
asked on
onClick goto another page?
I have a page where I am using onClick event. I want it to go to a web page (like "https://www.experts-exchange.com"). How can I do this???
Thanks
- Marc
Thanks
- Marc
onClick on what? on a button?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
or a link
<a href="http://oldlook.experts-exchange.com" onclick="window.location = this.href; return false;">EE</a>
<a href="http://oldlook.experts-exchange.com" onclick="window.location = this.href; return false;">EE</a>
<a href="https://www.experts-exchange.com">EE</a>
ASKER
Thanks! I just couldn't get it.
Thanks again Zvonko
- Marc
Thanks again Zvonko
- Marc
or a whole page
============
<html>
<body onclick="window.location=' http://www.experts-exchange.com';">
hurra
</body>
</html>
============
<html>
<body onclick="window.location='
hurra
</body>
</html>