AJAX
Basics
Data
DOM
Effects
Events
Forms
jQuery UI
Plug Ins
Traversing
The append()
method inserts specified content at
the end of the selected elements.
To insert content at the beginning of the selected elements,
use the prepend()
method.
http://www.w3schools.com/jquery/html_append.asp
$("#DemoButton").click(function ()
{
$("#demo-header").append(" World.");
$("#list-items").append("<li>List Item 4</li>");
$("#list-items").prepend("<li>List Item 0</li>");
});