forked from codepo8/crossdomain-ajax-with-jquery-and-yql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreusable-ajax.html
29 lines (29 loc) · 1.16 KB
/
reusable-ajax.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Ajax with jQuery - less obtrusive</title>
<link rel="stylesheet" href="styles.css" type="text/css">
</head>
<body>
<div id="doc" class="yui-t7">
<div id="hd" role="banner"><h1>Ajax with jQuery - less obtrusive</h1></div>
<div id="bd" role="main">
<h2>Demo</h2>
<ul>
<li><a href="ajaxcontent.html" class="ajaxtrigger">Load Ajax Content</a></li>
<li><a href="http://developer.yahoo.com" class="ajaxtrigger">Get developer.yahoo.com (this will not do anything!)</a></li>
</ul>
<div id="target"></div>
<h2>Source Code</h2>
<div id="code"></div>
<ul id="nav"><li><a href="allowing-link-following.html">Next: allow external links to be followed</a></li></ul>
</div>
<div id="ft" role="contentinfo"><p>Written by <a href="http://wait-till-i.com/index.php">Christian Heilmann</a>.</p></div>
</div>
<script src="http://code.jquery.com/jquery-latest.pack.js"></script>
<script src="code.js"></script>
<script src="reusable-ajax.js"></script>
</body>
</html>