Bug Tracker

Ticket #4422: jQueryTest.html

File jQueryTest.html, 533 bytes (added by doug316, 13 years ago)

Test case HTML

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3
4<head>
5<script src="assets/javascript/jquery-1.2.6-mod.js" type="text/javascript"></script>
6</head>
7
8<body>
9
10<div id='div1'>
11        <div class='contents'>
12                <form class='form1' action='blah/'>
13                        <input id='input1' type='text'/>
14                </form>
15        </div>
16</div>
17
18<div id='div2'>
19</div>
20
21<script type='text/javascript'>
22        $('#div2').empty().append($('.contents', $('#div1')).clone());
23</script>
24
25</body>
26</html>