Skip to content

Instantly share code, notes, and snippets.

@aflc
Created December 3, 2011 08:56

Revisions

  1. @roy-ht roy-ht created this gist Dec 3, 2011.
    15 changes: 15 additions & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    <html>
    <head>
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
    $("a").click(function() {
    alert("Hello world");
    });
    });
    </script>
    </head>
    <body>
    <a href="">link<a>
    </body>
    </html>