AJAX
Basics
Data
DOM
Effects
Events
Forms
jQuery UI
Plug Ins
Traversing
html()
is usually used for getting and setting the inner content of
DOM elements (containing html).
$("#btnGet").click(function ()
{ $("#demo1").html($("#source").html()); });
$("#btnSet").click(function ()
{ $("#demo1").html("Just what do you think you are doing <strong>Dave</strong>?"); });