redirect on onclick div javascript code example
Example: javascript onclick to another page div
<div onclick="window.location.href = 'http://example.com';">Click this div to get redirected.</div>
<div onclick="window.location.href = 'http://example.com';">Click this div to get redirected.</div>