DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
onclick prevent default
<a href="#" onclick="event.preventDefault(); myfunc({a:1, b:2});" />click</a>
PREVIOUS
NEXT
Tagged:
#onclick
#prevent
#default
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit