Create a gist now
Instantly share code, notes, and snippets.
HTTPS clone URL
Subversion checkout URL
|// All links with class delete|
|// This should work--if cancel is pressed, it returns false, canceling|
|// the click. I haven't tested it out myself, though.|
|return confirm("Are you sure you want to delete this item?");|