Monday, July 28, 2008

1.1.2 API Browser


http://jquery.bassistance.de/api-browser/

example from page



$( String html ) returns jQuery
Create DOM elements on-the-fly from the provided String of raw HTML.
Example:

Creates a div element (and all of its contents) dynamically, and appends it to the body element. Internally, an element is created and its innerHTML property set to the given markup. It is therefore both quite flexible and limited.

$("

Hello

").appendTo("body")