Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

add href to div

<div style="cursor: pointer;" onclick="window.location='http://google.com';">
    Hello world
</div>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #href #div
ADD COMMENT
Topic
Name
7+7 =