A javascript hyperlink
// method 1 <a href='#' onclick='alert("hello"); return false'>hello</a> // method 2 <a href='javascript:alert("hello")'>hello</a>
12379 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
// method 1 <a href='#' onclick='alert("hello"); return false'>hello</a> // method 2 <a href='javascript:alert("hello")'>hello</a>