Step 6: Inject HTML onto page. Now you’ll need to decide just exactly where you want this newly formed table to contents to be injected onto the page. Putting at the top of the page is probably smart. Our example uses to wrap everything, so to inject at the top of that, we would do: $("article").prepend( ToC);
. 434 54 350 219 66 394 130 222