Programming Tips - How does the jQuery dataTables sDom parameter work?

Date: 2009dec15 Language: mixed Library: jQuery, datatables Q. How does the jQuery dataTables sDom parameter work? A. I found the docs confusing too until I found an explanation from an author in the forums. Rewritten a bit here: Example:
"sDom": '<"top"i>rt<"bottom"flp><"clear">'
Gives:
'<' gives '<div>' '<"class"' gives '<div class="class">' '>' gives '</div>'
So the example above is really:
<div class="top"> i </div> rt <div class="bottom"> flp </div> <div class="clear"></div>
From here: http://datatables.net/forums/comments.php?DiscussionID=37