1 | <!DOCTYPE html> |
---|
2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
3 | |
---|
4 | <head> |
---|
5 | <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> |
---|
6 | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js" type="text/javascript"></script> |
---|
7 | <script type="text/javascript"> |
---|
8 | $(function() { |
---|
9 | $.build = {}; |
---|
10 | $.extend($.build , { |
---|
11 | setup: function() { |
---|
12 | $("#content").load("ajax-6904.html",function(x) {alert('loaded '+x);}); |
---|
13 | } |
---|
14 | }); |
---|
15 | $.build.setup(); |
---|
16 | }); |
---|
17 | </script> |
---|
18 | </head> |
---|
19 | |
---|
20 | <body> |
---|
21 | <div id="content" style="height: 100px">(empty)</div> |
---|
22 | </body> |
---|
23 | |
---|
24 | </html> |
---|