Bug Tracker

Ticket #7020: test.html

File test.html, 428 bytes (added by propeng, 10 years ago)

Example

Line 
1<html>
2<head>
3<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
4<script type="text/javascript">
5setTimeout("$('#test')[0].contentWindow.document.designMode = 'on';", 300);
6</script>
7</head>
8<body>
9
10<iframe id="test"></iframe>
11<p>
12<button onclick="$('#test').wrap('<center>');">wrap("&lt;center&gt;")</button>
13<button onclick="$('#test').unwrap();">unwrap()</button>
14</p>
15
16</body>
17</html>