1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
---|
3 | <head> |
---|
4 | <title>3255 Test Case</title> |
---|
5 | <script type="text/javascript" src="jquery.js"></script> |
---|
6 | <script type="text/javascript"> |
---|
7 | $(document).ready(function() { |
---|
8 | try { |
---|
9 | $('<input />').attr('type', 'checkbox').append(); |
---|
10 | } catch (e) { |
---|
11 | alert(e); |
---|
12 | } |
---|
13 | }); |
---|
14 | </script> |
---|
15 | |
---|
16 | </head> |
---|
17 | |
---|
18 | <body> |
---|
19 | Should append an input. Should not alert. |
---|
20 | </body> |
---|
21 | |
---|
22 | </html> |
---|