Ticket #6667: testcase.html
| File testcase.html, 434 bytes (added by salomvary, 3 years ago) |
|---|
| Line | |
|---|---|
| 1 | <html> |
| 2 | <head> |
| 3 | <script src="http://code.jquery.com/jquery-1.4.2.js"></script> |
| 4 | <script> |
| 5 | jQuery(function() { |
| 6 | var first = 'body'; |
| 7 | var second = 'body'; |
| 8 | jQuery(first).delegate('foobar','click', jQuery.noop); |
| 9 | jQuery(second).delegate('form','submit', function(){ |
| 10 | alert('submit'); |
| 11 | return false; |
| 12 | }); |
| 13 | }); |
| 14 | </script> |
| 15 | </head> |
| 16 | <body> |
| 17 | <form> |
| 18 | <input type="submit" name="submitted"/> |
| 19 | </form> |
| 20 | </body> |
| 21 | </html> |
