Skip to content
This repository has been archived by the owner on Nov 7, 2020. It is now read-only.

Commit

Permalink
Clean up some leftover docbook cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
rmurphey committed Mar 18, 2011
1 parent 4f74dbb commit 5407a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/part2-jquery-basics/ch07-ajax.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ <h3 class="title">
<pre class="brush: js">
var response;
$.get('foo.php', function(r) { response = r; });
console.log(response); <span class="emphasis"><em>// undefined!</em></span>
console.log(response); // undefined!
</pre>
<p>
Instead, we need to pass a callback function to our request; this callback will run when the request succeeds, at which point we can access the data that it returned, if any.
Expand Down

0 comments on commit 5407a3e

Please sign in to comment.