DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript onclick to another page div
<div onclick="window.location.href = 'http://example.com';">Click this div to get redirected.</div>
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#onclick
#page
#div
ADD COMMENT
Topic
COMMENT
Name
6+1 =
Submit