File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,9 +56,9 @@ $( "#b" ).load( "article.html #target" );
5656 </longdesc >
5757 <note id =" same-origin-policy" type =" additional" />
5858 <example >
59- <desc >Load the main page's footer navigation into an ordered list.</desc >
59+ <desc >Load another page's list items into an ordered list.</desc >
6060 <code ><![CDATA[
61- $( "#new-nav " ).load( "/ #jq-footerNavigation li" );
61+ $( "#new-projects " ).load( "/resources/load.html #projects li" );
6262]]> </code >
6363 <css ><![CDATA[
6464 body {
@@ -67,8 +67,8 @@ $( "#new-nav" ).load( "/ #jq-footerNavigation li" );
6767 }
6868]]> </css >
6969 <html ><![CDATA[
70- <b>Footer navigation :</b>
71- <ol id="new-nav "></ol>
70+ <b>Projects :</b>
71+ <ol id="new-projects "></ol>
7272]]> </html >
7373 </example >
7474 <example >
Original file line number Diff line number Diff line change 1+ <!doctype html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < title > Sample Page</ title >
6+ </ head >
7+ < body >
8+
9+ < h1 > Popular jQuery Projects</ h1 >
10+
11+ < ul id ="projects ">
12+ < li > jQuery</ li >
13+ < li > jQuery UI</ li >
14+ < li > jQuery Mobile</ li >
15+ < li > QUnit</ li >
16+ < li > Sizzle</ li >
17+ </ ul >
18+
19+ </ body >
20+ </ html >
You can’t perform that action at this time.
0 commit comments