Ticket #6222: 6222.html
File 6222.html, 430 bytes (added by , 12 years ago) |
---|
Line | |
---|---|
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
3 | <head> |
4 | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> |
5 | </head> |
6 | <body> |
7 | |
8 | <div>Click here</div> |
9 | |
10 | <script> |
11 | function foo() { alert('clicked!') } |
12 | |
13 | $("div").click(foo).click(foo).click(foo); |
14 | </script> |
15 | </body> |
16 | </html> |