Ticket #3288: test.html
File test.html, 382 bytes (added by , 14 years ago) |
---|
Line | |
---|---|
1 | <html> |
2 | <head> |
3 | <script type="text/javascript" src="http://dev.jquery.com/chrome/common/js/jquery.js"></script> |
4 | <script> |
5 | $(function(){ |
6 | $('a').click(function(){ |
7 | $($(this).attr('href')).hide(); |
8 | alert('be gone'); |
9 | }) |
10 | }); |
11 | </script> |
12 | </head> |
13 | <body> |
14 | <a href="#x">xxx</a> |
15 | <div id="x"> i am x</div> |
16 | </body> |
17 | </html> |
18 |